 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944151  bytes 337613212 (337.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5580864  bytes 7510259241 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 751070  bytes 145204152 (145.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 751070  bytes 145204152 (145.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9f6bdb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f6bdb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f6bdb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944220  bytes 337624422 (337.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5580945  bytes 7510271500 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 751213  bytes 145223142 (145.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 751213  bytes 145223142 (145.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa7e59b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7e59b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7e59b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944267  bytes 337631482 (337.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581004  bytes 7510278694 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 751269  bytes 145228072 (145.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 751269  bytes 145228072 (145.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f962fbb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f962fbb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f962fbb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944327  bytes 337642109 (337.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581077  bytes 7510290466 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 751410  bytes 145247014 (145.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 751410  bytes 145247014 (145.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8894bb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8894bb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8894bb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944347  bytes 337643696 (337.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581103  bytes 7510292396 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 751450  bytes 145249718 (145.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 751450  bytes 145249718 (145.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb5ef2b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5ef2b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5ef2b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944405  bytes 337654338 (337.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581172  bytes 7510303959 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 751593  bytes 145268697 (145.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 751593  bytes 145268697 (145.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9be64b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9be64b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9be64b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944426  bytes 337656107 (337.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581202  bytes 7510306237 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 751635  bytes 145271505 (145.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 751635  bytes 145271505 (145.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f83c5cb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83c5cb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83c5cb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944481  bytes 337665694 (337.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581265  bytes 7510315403 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 751742  bytes 145285753 (145.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 751742  bytes 145285753 (145.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8afc7a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8afc7a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8afc7a90>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944516  bytes 337669681 (337.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581312  bytes 7510320791 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 751827  bytes 145294845 (145.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 751827  bytes 145294845 (145.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8c56ab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c56ab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c56ab00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944594  bytes 337684246 (337.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581402  bytes 7510336742 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 751978  bytes 145314402 (145.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 751978  bytes 145314402 (145.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa13a9b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa13a9b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa13a9b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944614  bytes 337685977 (337.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581429  bytes 7510338806 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 752022  bytes 145317374 (145.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 752022  bytes 145317374 (145.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7b4fdb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b4fdb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b4fdb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944674  bytes 337696549 (337.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581500  bytes 7510350415 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 752162  bytes 145336184 (145.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 752162  bytes 145336184 (145.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9ad10b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ad10b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ad10b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944718  bytes 337703350 (337.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581556  bytes 7510357400 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 752223  bytes 145341414 (145.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 752223  bytes 145341414 (145.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fab532a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab532a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab532a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944781  bytes 337714013 (337.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581633  bytes 7510369392 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 752365  bytes 145360430 (145.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 752365  bytes 145360430 (145.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f81bc7b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81bc7b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81bc7b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944799  bytes 337715484 (337.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581655  bytes 7510371058 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 752405  bytes 145363134 (145.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 752405  bytes 145363134 (145.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa7dcab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7dcab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7dcab00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944855  bytes 337725845 (337.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581732  bytes 7510383116 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 752554  bytes 145382492 (145.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 752554  bytes 145382492 (145.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9613ab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9613ab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9613ab00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944875  bytes 337727538 (337.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581758  bytes 7510385092 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 752597  bytes 145385307 (145.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 752597  bytes 145385307 (145.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f82943b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82943b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82943b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944916  bytes 337734722 (337.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581810  bytes 7510392241 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 752694  bytes 145397832 (145.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 752694  bytes 145397832 (145.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faba1fb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faba1fb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faba1fb00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2944953  bytes 337740449 (337.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581860  bytes 7510399051 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 752786  bytes 145408467 (145.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 752786  bytes 145408467 (145.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f932f5b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f932f5b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f932f5b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2945035  bytes 337755336 (337.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581954  bytes 7510415300 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 752935  bytes 145427862 (145.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 752935  bytes 145427862 (145.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f81383b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81383b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81383b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2945055  bytes 337757079 (337.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581980  bytes 7510417302 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 752979  bytes 145430834 (145.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 752979  bytes 145430834 (145.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f77937b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77937b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77937b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2945109  bytes 337767137 (337.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5582050  bytes 7510428859 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 753117  bytes 145449466 (145.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 753117  bytes 145449466 (145.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f805fdb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f805fdb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f805fdb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2945150  bytes 337773702 (337.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5582099  bytes 7510435316 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 753178  bytes 145454734 (145.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 753178  bytes 145454734 (145.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f85845b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85845b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85845b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2945215  bytes 337785021 (337.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5582183  bytes 7510448004 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 753321  bytes 145473804 (145.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 753321  bytes 145473804 (145.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f953e2b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f953e2b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f953e2b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2945235  bytes 337786668 (337.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5582205  bytes 7510449670 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 753355  bytes 145476042 (145.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 753355  bytes 145476042 (145.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb05e2b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb05e2b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb05e2b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2945287  bytes 337796655 (337.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5582277  bytes 7510461304 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 753508  bytes 145495702 (145.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 753508  bytes 145495702 (145.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f933b3b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f933b3b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f933b3b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2945306  bytes 337798245 (337.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5582303  bytes 7510463289 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 753553  bytes 145498658 (145.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 753553  bytes 145498658 (145.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f77cfbb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77cfbb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77cfbb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2945354  bytes 337807481 (337.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5582364  bytes 7510472356 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 753661  bytes 145514470 (145.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 753661  bytes 145514470 (145.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa9b34b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9b34b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9b34b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2945393  bytes 337811686 (337.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5582411  bytes 7510477842 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 753748  bytes 145522252 (145.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 753748  bytes 145522252 (145.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8dc46b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8dc46b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8dc46b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2945494  bytes 337832436 (337.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5582531  bytes 7510499915 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 754002  bytes 145559084 (145.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 754002  bytes 145559084 (145.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f88d02a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88d02a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88d02a90>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2945532  bytes 337838034 (337.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5582570  bytes 7510505573 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 754053  bytes 145562536 (145.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 754053  bytes 145562536 (145.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7ab97b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ab97b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ab97b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2945592  bytes 337848573 (337.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5582645  bytes 7510517453 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 754186  bytes 145580884 (145.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 754186  bytes 145580884 (145.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb34f2b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb34f2b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb34f2b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2945634  bytes 337855061 (337.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5582691  bytes 7510523679 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 754241  bytes 145585660 (145.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 754241  bytes 145585660 (145.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f964ddb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f964ddb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f964ddb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2945702  bytes 337866348 (337.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5582776  bytes 7510536353 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 754393  bytes 145605352 (145.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 754393  bytes 145605352 (145.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9bc0fb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9bc0fb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9bc0fb00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2945722  bytes 337868026 (337.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5582799  bytes 7510538100 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 754429  bytes 145607718 (145.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 754429  bytes 145607718 (145.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa4202b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4202b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4202b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2945784  bytes 337878760 (337.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5582875  bytes 7510550057 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 754573  bytes 145626864 (145.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 754573  bytes 145626864 (145.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9eff6a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9eff6a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9eff6a90>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2945802  bytes 337880320 (337.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5582899  bytes 7510551904 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 754624  bytes 145630203 (145.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 754624  bytes 145630203 (145.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9cc81a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cc81a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cc81a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2948229  bytes 338017791 (338.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5587630  bytes 7517628966 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 755479  bytes 152436208 (152.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 755479  bytes 152436208 (152.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c819b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c819b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c819b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2948292  bytes 338028578 (338.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5587702  bytes 7517640908 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 755619  bytes 152454956 (152.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 755619  bytes 152454956 (152.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fab46ab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab46ab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab46ab00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2948315  bytes 338030530 (338.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5587733  bytes 7517643241 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 755661  bytes 152457800 (152.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 755661  bytes 152457800 (152.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f88b7cb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88b7cb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88b7cb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2948396  bytes 338045424 (338.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5587826  bytes 7517659391 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 755820  bytes 152477775 (152.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 755820  bytes 152477775 (152.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa9762b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9762b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9762b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2948457  bytes 338056231 (338.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5587907  bytes 7517671747 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 755969  bytes 152497243 (152.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 755969  bytes 152497243 (152.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7da3fb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7da3fb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7da3fb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2948480  bytes 338058606 (338.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5587932  bytes 7517673655 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 756014  bytes 152501309 (152.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 756014  bytes 152501309 (152.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f91681b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91681b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91681b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2948568  bytes 338074228 (338.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588035  bytes 7517690487 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 756166  bytes 152521153 (152.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 756166  bytes 152521153 (152.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93267b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93267b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93267b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2948586  bytes 338075745 (338.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588056  bytes 7517692093 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 756200  bytes 152523391 (152.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 756200  bytes 152523391 (152.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f98f1eb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98f1eb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98f1eb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2948646  bytes 338086331 (338.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588137  bytes 7517704480 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 756348  bytes 152542733 (152.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 756348  bytes 152542733 (152.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9813bb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9813bb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9813bb00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2948668  bytes 338088154 (338.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588163  bytes 7517706442 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 756395  bytes 152545767 (152.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 756395  bytes 152545767 (152.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8d1a5b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d1a5b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d1a5b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2948724  bytes 338098365 (338.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588234  bytes 7517716948 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 756518  bytes 152563183 (152.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 756518  bytes 152563183 (152.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9b2a8b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b2a8b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b2a8b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2948754  bytes 338101612 (338.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588267  bytes 7517720740 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 756579  bytes 152568621 (152.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 756579  bytes 152568621 (152.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fac5a8b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac5a8b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac5a8b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2948815  bytes 338112215 (338.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588338  bytes 7517732352 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 756716  bytes 152587367 (152.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 756716  bytes 152587367 (152.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f89a38b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89a38b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89a38b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2948856  bytes 338118008 (338.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588380  bytes 7517738383 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 756770  bytes 152590884 (152.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 756770  bytes 152590884 (152.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fafa18b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fafa18b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fafa18b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2948874  bytes 338119455 (338.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588405  bytes 7517740239 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 756810  bytes 152593588 (152.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 756810  bytes 152593588 (152.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7fceeb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fceeb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fceeb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2948893  bytes 338121581 (338.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588428  bytes 7517742038 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 756854  bytes 152597622 (152.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 756854  bytes 152597622 (152.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb2d18b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2d18b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2d18b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2948947  bytes 338129577 (338.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588491  bytes 7517749612 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 756915  bytes 152601850 (152.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 756915  bytes 152601850 (152.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa915fb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa915fb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa915fb00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949007  bytes 338140128 (338.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588563  bytes 7517761286 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 757054  bytes 152620664 (152.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 757054  bytes 152620664 (152.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9018aa90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9018aa90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9018aa90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949093  bytes 338158531 (338.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588674  bytes 7517781734 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 757274  bytes 152654058 (152.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 757274  bytes 152654058 (152.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa2c3db00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2c3db00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2c3db00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949115  bytes 338160660 (338.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588704  bytes 7517784510 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 757325  bytes 152657824 (152.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 757325  bytes 152657824 (152.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9c39eb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c39eb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c39eb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949161  bytes 338168136 (338.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588764  bytes 7517792267 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 757438  bytes 152671373 (152.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 757438  bytes 152671373 (152.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9312db00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9312db00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9312db00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949198  bytes 338173782 (338.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588808  bytes 7517798720 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 757524  bytes 152681566 (152.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 757524  bytes 152681566 (152.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f826f8b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f826f8b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f826f8b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949259  bytes 338184594 (338.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588888  bytes 7517811023 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 757667  bytes 152700722 (152.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 757667  bytes 152700722 (152.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa3612b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3612b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3612b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949295  bytes 338190029 (338.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588927  bytes 7517816854 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 757701  bytes 152702927 (152.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 757701  bytes 152702927 (152.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f76d27b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76d27b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76d27b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949354  bytes 338200552 (338.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5588999  bytes 7517828524 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 757847  bytes 152722223 (152.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 757847  bytes 152722223 (152.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f87267b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87267b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87267b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949382  bytes 338203418 (338.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5589031  bytes 7517831019 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 757893  bytes 152726385 (152.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 757893  bytes 152726385 (152.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f960f9b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f960f9b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f960f9b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949465  bytes 338218521 (338.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5589127  bytes 7517847232 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 758050  bytes 152746483 (152.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 758050  bytes 152746483 (152.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9f590b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f590b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f590b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949486  bytes 338220263 (338.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5589153  bytes 7517849201 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 758086  bytes 152748861 (152.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 758086  bytes 152748861 (152.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9430da90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9430da90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9430da90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949544  bytes 338230770 (338.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5589225  bytes 7517860839 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 758228  bytes 152767713 (152.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 758228  bytes 152767713 (152.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7ad7bb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ad7bb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ad7bb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949562  bytes 338232272 (338.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5589251  bytes 7517862808 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 758270  bytes 152770545 (152.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 758270  bytes 152770545 (152.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faec78b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faec78b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faec78b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949621  bytes 338243438 (338.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5589330  bytes 7517875091 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 758433  bytes 152791945 (152.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 758433  bytes 152791945 (152.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c151b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c151b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c151b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949643  bytes 338245350 (338.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5589357  bytes 7517877182 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 758467  bytes 152794183 (152.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 758467  bytes 152794183 (152.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78221b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78221b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78221b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949702  bytes 338255972 (338.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5589434  bytes 7517889273 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 758609  bytes 152813225 (152.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 758609  bytes 152813225 (152.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa7871b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7871b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7871b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949725  bytes 338257862 (338.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5589462  bytes 7517891526 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 758652  bytes 152816005 (152.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 758652  bytes 152816005 (152.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa72b5b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa72b5b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa72b5b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949813  bytes 338273200 (338.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5589559  bytes 7517907912 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 758796  bytes 152835237 (152.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 758796  bytes 152835237 (152.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8ef35a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ef35a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ef35a90>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949841  bytes 338276181 (338.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5589596  bytes 7517910820 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 758846  bytes 152839725 (152.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 758846  bytes 152839725 (152.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fae00fb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae00fb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae00fb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949917  bytes 338290906 (338.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5589693  bytes 7517927137 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 759005  bytes 152859813 (152.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 759005  bytes 152859813 (152.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f83beeb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83beeb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83beeb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949936  bytes 338292501 (338.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5589720  bytes 7517929173 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 759045  bytes 152862517 (152.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 759045  bytes 152862517 (152.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faf4aea90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf4aea90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf4aea90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2949996  bytes 338303203 (338.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5589792  bytes 7517940838 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 759185  bytes 152881301 (152.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 759185  bytes 152881301 (152.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8ada3b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ada3b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ada3b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950015  bytes 338304851 (338.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5589819  bytes 7517942907 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 759227  bytes 152884133 (152.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 759227  bytes 152884133 (152.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f94b9eb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94b9eb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94b9eb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950069  bytes 338315610 (338.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5589888  bytes 7517954427 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 759377  bytes 152904833 (152.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 759377  bytes 152904833 (152.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb275fb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb275fb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb275fb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950094  bytes 338317835 (338.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5589919  bytes 7517956835 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 759415  bytes 152907339 (152.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 759415  bytes 152907339 (152.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fabff7b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fabff7b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fabff7b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950152  bytes 338328397 (338.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5589990  bytes 7517968490 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 759552  bytes 152925955 (152.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 759552  bytes 152925955 (152.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fadb4fb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadb4fb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadb4fb00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950172  bytes 338330087 (338.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5590018  bytes 7517970607 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 759594  bytes 152928799 (152.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 759594  bytes 152928799 (152.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f97baab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97baab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97baab00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950250  bytes 338344693 (338.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5590107  bytes 7517986449 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 759744  bytes 152948281 (152.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 759744  bytes 152948281 (152.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f915f6b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f915f6b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f915f6b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950278  bytes 338347568 (338.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5590143  bytes 7517989233 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 759794  bytes 152952781 (152.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 759794  bytes 152952781 (152.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f839b4b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f839b4b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f839b4b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950342  bytes 338358501 (338.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5590219  bytes 7518001173 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 759943  bytes 152972273 (152.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 759943  bytes 152972273 (152.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f91d1bb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91d1bb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91d1bb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950379  bytes 338364120 (338.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5590266  bytes 7518007412 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 759993  bytes 152975713 (152.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 759993  bytes 152975713 (152.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa18e5b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa18e5b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa18e5b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950435  bytes 338374430 (338.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5590338  bytes 7518019125 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 760128  bytes 152994189 (152.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 760128  bytes 152994189 (152.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb0886b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0886b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0886b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950455  bytes 338376060 (338.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5590364  bytes 7518021110 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 760170  bytes 152997021 (152.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 760170  bytes 152997021 (152.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9d40ca90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d40ca90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d40ca90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950500  bytes 338383362 (338.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5590420  bytes 7518028610 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 760272  bytes 153009880 (153.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 760272  bytes 153009880 (153.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9cbc4b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cbc4b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cbc4b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950538  bytes 338389209 (338.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5590472  bytes 7518035579 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 760368  bytes 153020747 (153.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 760368  bytes 153020747 (153.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8509eb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8509eb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8509eb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950597  bytes 338399855 (338.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5590540  bytes 7518046996 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 760500  bytes 153039115 (153.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 760500  bytes 153039115 (153.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fadea5a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadea5a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadea5a90>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950618  bytes 338401698 (338.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5590569  bytes 7518049232 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 760542  bytes 153041985 (153.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 760542  bytes 153041985 (153.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8b2d9a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b2d9a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b2d9a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950703  bytes 338416805 (338.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5590662  bytes 7518065383 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 760699  bytes 153061830 (153.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 760699  bytes 153061830 (153.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80777b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80777b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80777b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950730  bytes 338419648 (338.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5590697  bytes 7518068129 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 760749  bytes 153066330 (153.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 760749  bytes 153066330 (153.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8b770b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b770b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b770b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950792  bytes 338430596 (338.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5590774  bytes 7518080302 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 760889  bytes 153085302 (153.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 760889  bytes 153085302 (153.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9e8e2b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e8e2b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e8e2b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950832  bytes 338436533 (338.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5590824  bytes 7518086845 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 760940  bytes 153088748 (153.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 760940  bytes 153088748 (153.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7e986b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e986b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e986b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950892  bytes 338447115 (338.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5590899  bytes 7518098716 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 761078  bytes 153107416 (153.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 761078  bytes 153107416 (153.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa009eb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa009eb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa009eb00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950912  bytes 338448762 (338.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5590923  bytes 7518100530 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 761118  bytes 153110120 (153.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 761118  bytes 153110120 (153.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9986db00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9986db00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9986db00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2950963  bytes 338458441 (338.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5590985  bytes 7518109702 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 761223  bytes 153125812 (153.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 761223  bytes 153125812 (153.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa9c14b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9c14b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9c14b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951000  bytes 338462461 (338.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591034  bytes 7518115287 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 761312  bytes 153133639 (153.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 761312  bytes 153133639 (153.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7e7c7b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e7c7b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e7c7b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951060  bytes 338473188 (338.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591105  bytes 7518126939 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 761447  bytes 153152127 (153.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 761447  bytes 153152127 (153.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb333cb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb333cb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb333cb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951078  bytes 338474755 (338.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591130  bytes 7518128859 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 761487  bytes 153154831 (153.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 761487  bytes 153154831 (153.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa4846a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4846a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4846a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951159  bytes 338489608 (338.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591222  bytes 7518144902 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 761638  bytes 153174388 (153.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 761638  bytes 153174388 (153.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9186cb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9186cb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9186cb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951185  bytes 338492403 (338.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591255  bytes 7518147496 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 761688  bytes 153178888 (153.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 761688  bytes 153178888 (153.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb3e21b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3e21b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3e21b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951249  bytes 338503440 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591333  bytes 7518159636 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 761830  bytes 153197920 (153.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 761830  bytes 153197920 (153.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9e088b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e088b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e088b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951289  bytes 338509219 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591374  bytes 7518165395 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 761875  bytes 153200900 (153.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 761875  bytes 153200900 (153.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f81429b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81429b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81429b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951307  bytes 338510686 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591399  bytes 7518167290 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 761917  bytes 153203732 (153.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 761917  bytes 153203732 (153.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb134eb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb134eb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb134eb00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951327  bytes 338512336 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591421  bytes 7518168970 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 761955  bytes 153206238 (153.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 761955  bytes 153206238 (153.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb1fdcb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1fdcb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1fdcb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951355  bytes 338515297 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591458  bytes 7518171861 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 762005  bytes 153210740 (153.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 762005  bytes 153210740 (153.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa0abcb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0abcb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0abcb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951375  bytes 338517039 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591486  bytes 7518173997 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 762054  bytes 153213951 (153.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 762054  bytes 153213951 (153.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa5720b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5720b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5720b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951393  bytes 338518511 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591507  bytes 7518175589 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 762088  bytes 153216189 (153.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 762088  bytes 153216189 (153.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7facc3cb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7facc3cb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7facc3cb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951414  bytes 338520285 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591534  bytes 7518177639 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 762132  bytes 153219161 (153.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 762132  bytes 153219161 (153.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f91808b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91808b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91808b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951454  bytes 338526161 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591577  bytes 7518183662 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 762182  bytes 153222446 (153.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 762182  bytes 153222446 (153.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8186ab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8186ab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8186ab00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951481  bytes 338529044 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591606  bytes 7518185967 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 762224  bytes 153226340 (153.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 762224  bytes 153226340 (153.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f87297b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87297b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87297b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951528  bytes 338536071 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591665  bytes 7518193598 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 762322  bytes 153238067 (153.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 762322  bytes 153238067 (153.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8d871b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d871b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d871b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951568  bytes 338542008 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591712  bytes 7518200042 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 762371  bytes 153241341 (153.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 762371  bytes 153241341 (153.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb1e56b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1e56b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1e56b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951621  bytes 338552028 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591790  bytes 7518212332 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 762511  bytes 153260207 (153.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 762511  bytes 153260207 (153.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7aa28b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7aa28b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7aa28b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951641  bytes 338553611 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591812  bytes 7518213973 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 762547  bytes 153262573 (153.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 762547  bytes 153262573 (153.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93d54b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93d54b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93d54b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951702  bytes 338565020 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591891  bytes 7518226336 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 762689  bytes 153282819 (153.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 762689  bytes 153282819 (153.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9a613b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a613b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a613b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951723  bytes 338566739 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591917  bytes 7518228273 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 762740  bytes 153286169 (153.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 762740  bytes 153286169 (153.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa07bab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa07bab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa07bab00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951777  bytes 338576974 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5591988  bytes 7518239912 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 762871  bytes 153304485 (153.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 762871  bytes 153304485 (153.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa2698b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2698b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2698b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951794  bytes 338578329 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5592008  bytes 7518241405 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 762895  bytes 153306063 (153.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 762895  bytes 153306063 (153.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa76d4b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa76d4b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa76d4b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951858  bytes 338589242 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5592092  bytes 7518254144 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 763052  bytes 153326068 (153.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 763052  bytes 153326068 (153.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8305db00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8305db00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8305db00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951905  bytes 338596116 (338.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5592141  bytes 7518260597 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 763107  bytes 153330850 (153.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 763107  bytes 153330850 (153.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f84cddb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84cddb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84cddb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951974  bytes 338607470 (338.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5592225  bytes 7518273215 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 763250  bytes 153350148 (153.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 763250  bytes 153350148 (153.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa680ab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa680ab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa680ab00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2951993  bytes 338609030 (338.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5592246  bytes 7518274807 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 763287  bytes 153352558 (153.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 763287  bytes 153352558 (153.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7facff7a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7facff7a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7facff7a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952054  bytes 338621529 (338.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5592326  bytes 7518286755 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 763400  bytes 153365100 (153.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 763400  bytes 153365100 (153.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa56cfa90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa56cfa90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa56cfa90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952075  bytes 338623236 (338.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5592351  bytes 7518288618 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 763436  bytes 153367466 (153.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 763436  bytes 153367466 (153.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa8548a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8548a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8548a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952120  bytes 338630744 (338.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5592409  bytes 7518296270 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 763536  bytes 153380337 (153.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 763536  bytes 153380337 (153.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa6379b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6379b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6379b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952160  bytes 338636646 (338.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5592457  bytes 7518302994 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 763629  bytes 153390908 (153.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 763629  bytes 153390908 (153.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8e091b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e091b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e091b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952216  bytes 338646970 (338.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5592531  bytes 7518314848 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 763767  bytes 153409706 (153.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 763767  bytes 153409706 (153.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8ba0db00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ba0db00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ba0db00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952235  bytes 338648530 (338.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5592552  bytes 7518316440 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 763801  bytes 153411944 (153.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 763801  bytes 153411944 (153.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8517ea90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8517ea90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8517ea90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952293  bytes 338659014 (338.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5592629  bytes 7518328468 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 763932  bytes 153430378 (153.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 763932  bytes 153430378 (153.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb437cb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb437cb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb437cb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952342  bytes 338666108 (338.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5592680  bytes 7518335289 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 763996  bytes 153435690 (153.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 763996  bytes 153435690 (153.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa3058b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3058b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3058b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952410  bytes 338677599 (338.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5592769  bytes 7518348306 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 764137  bytes 153454844 (153.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 764137  bytes 153454844 (153.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb1110a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1110a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1110a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952431  bytes 338679275 (338.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5592793  bytes 7518350088 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 764171  bytes 153457082 (153.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 764171  bytes 153457082 (153.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fabb0bb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fabb0bb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fabb0bb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952505  bytes 338693707 (338.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5592887  bytes 7518366205 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 764316  bytes 153476378 (153.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 764316  bytes 153476378 (153.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d32da90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d32da90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d32da90>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952524  bytes 338695298 (338.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5592911  bytes 7518368026 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 764352  bytes 153478744 (153.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 764352  bytes 153478744 (153.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f84f9fb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84f9fb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84f9fb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952590  bytes 338707120 (338.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5592994  bytes 7518380674 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 764501  bytes 153499428 (153.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 764501  bytes 153499428 (153.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f92f70b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92f70b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92f70b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952609  bytes 338708620 (338.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5593017  bytes 7518382382 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 764535  bytes 153501666 (153.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 764535  bytes 153501666 (153.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faae63b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faae63b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faae63b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952668  bytes 338719465 (338.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5593096  bytes 7518394651 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 764685  bytes 153521151 (153.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 764685  bytes 153521151 (153.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9c70ab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c70ab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c70ab00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952689  bytes 338721141 (338.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5593121  bytes 7518396507 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 764725  bytes 153523783 (153.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 764725  bytes 153523783 (153.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9d4cdb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d4cdb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d4cdb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952749  bytes 338731982 (338.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5593199  bytes 7518408714 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 764857  bytes 153542223 (153.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 764857  bytes 153542223 (153.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8d3ccb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d3ccb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d3ccb00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952797  bytes 338739047 (338.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5593251  bytes 7518415682 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 764919  bytes 153547396 (153.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 764919  bytes 153547396 (153.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa75dda90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa75dda90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa75dda90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952861  bytes 338750045 (338.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5593330  bytes 7518427896 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 765068  bytes 153566984 (153.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 765068  bytes 153566984 (153.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa3c00b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3c00b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3c00b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952882  bytes 338751721 (338.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5593355  bytes 7518429752 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 765102  bytes 153569222 (153.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 765102  bytes 153569222 (153.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80e77b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80e77b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80e77b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952960  bytes 338766439 (338.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5593452  bytes 7518446173 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 765246  bytes 153588410 (153.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 765246  bytes 153588410 (153.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9b84ab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b84ab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b84ab00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2952981  bytes 338768175 (338.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5593481  bytes 7518448365 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 765290  bytes 153591382 (153.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 765290  bytes 153591382 (153.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f916afa90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f916afa90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f916afa90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953045  bytes 338779788 (338.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5593559  bytes 7518460606 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 765429  bytes 153611318 (153.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 765429  bytes 153611318 (153.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa1592a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1592a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1592a90>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953065  bytes 338781436 (338.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5593586  bytes 7518462642 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 765469  bytes 153614022 (153.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 765469  bytes 153614022 (153.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb0ec8b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0ec8b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0ec8b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953123  bytes 338791920 (338.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5593662  bytes 7518474596 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 765616  bytes 153633327 (153.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 765616  bytes 153633327 (153.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8614fb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8614fb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8614fb00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953144  bytes 338793596 (338.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5593687  bytes 7518476452 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 765650  bytes 153635565 (153.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 765650  bytes 153635565 (153.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8be68b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8be68b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8be68b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953203  bytes 338804207 (338.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5593760  bytes 7518488215 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 765785  bytes 153654243 (153.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 765785  bytes 153654243 (153.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb0945b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0945b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0945b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953250  bytes 338811167 (338.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5593813  bytes 7518495148 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 765847  bytes 153659415 (153.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 765847  bytes 153659415 (153.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78f05b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78f05b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78f05b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953314  bytes 338822298 (338.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5593887  bytes 7518507057 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 765987  bytes 153678341 (153.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 765987  bytes 153678341 (153.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f86d77b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86d77b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86d77b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953337  bytes 338824152 (338.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5593917  bytes 7518509325 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 766029  bytes 153681211 (153.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 766029  bytes 153681211 (153.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f76cbab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76cbab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76cbab00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953408  bytes 338838318 (338.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594004  bytes 7518524886 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 766162  bytes 153699765 (153.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 766162  bytes 153699765 (153.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f804f7a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f804f7a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f804f7a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953426  bytes 338839850 (338.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594029  bytes 7518526814 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 766204  bytes 153702635 (153.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 766204  bytes 153702635 (153.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8d06eb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d06eb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d06eb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953492  bytes 338851753 (338.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594109  bytes 7518539253 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 766341  bytes 153722527 (153.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 766341  bytes 153722527 (153.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f83a17b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83a17b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83a17b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953513  bytes 338853547 (338.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594137  bytes 7518541389 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 766381  bytes 153725231 (153.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 766381  bytes 153725231 (153.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f889f6b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f889f6b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f889f6b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953573  bytes 338864403 (338.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594213  bytes 7518553587 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 766519  bytes 153743913 (153.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 766519  bytes 153743913 (153.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fac911a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac911a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac911a90>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953590  bytes 338865727 (338.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594237  bytes 7518555369 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 766561  bytes 153746721 (153.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 766561  bytes 153746721 (153.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f97d01b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97d01b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97d01b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953649  bytes 338876325 (338.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594308  bytes 7518567015 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 766691  bytes 153765009 (153.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 766691  bytes 153765009 (153.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7f98db00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f98db00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f98db00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953676  bytes 338879268 (338.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594346  bytes 7518570134 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 766746  bytes 153769771 (153.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 766746  bytes 153769771 (153.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa2678b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2678b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2678b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953763  bytes 338894614 (338.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594440  bytes 7518586237 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 766888  bytes 153789023 (153.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 766888  bytes 153789023 (153.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb4c6db00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4c6db00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4c6db00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953781  bytes 338896117 (338.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594466  bytes 7518588206 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 766930  bytes 153791855 (153.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 766930  bytes 153791855 (153.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9c8c5b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c8c5b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c8c5b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953842  bytes 338906855 (338.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594539  bytes 7518599984 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 767070  bytes 153810679 (153.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 767070  bytes 153810679 (153.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa1465a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1465a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1465a90>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953879  bytes 338912613 (338.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594585  bytes 7518606191 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 767118  bytes 153813953 (153.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 767118  bytes 153813953 (153.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9490db00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9490db00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9490db00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953943  bytes 338924253 (338.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594662  bytes 7518618385 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 767251  bytes 153833613 (153.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 767251  bytes 153833613 (153.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f83b87a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83b87a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83b87a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2953966  bytes 338926040 (338.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594691  bytes 7518620512 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 767293  bytes 153836445 (153.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 767293  bytes 153836445 (153.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9c079b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c079b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c079b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954026  bytes 338936616 (338.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594761  bytes 7518632070 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 767421  bytes 153854569 (153.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 767421  bytes 153854569 (153.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8a72bb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a72bb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a72bb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954046  bytes 338938240 (338.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594789  bytes 7518634148 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 767470  bytes 153857780 (153.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 767470  bytes 153857780 (153.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d50db00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d50db00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d50db00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954110  bytes 338949352 (338.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594864  bytes 7518646084 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 767608  bytes 153876462 (153.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 767608  bytes 153876462 (153.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9da72b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9da72b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9da72b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954133  bytes 338951884 (338.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594896  bytes 7518648604 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 767658  bytes 153880962 (153.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 767658  bytes 153880962 (153.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9ce3bb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ce3bb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ce3bb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954221  bytes 338967367 (338.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5594996  bytes 7518665300 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 767815  bytes 153900996 (153.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 767815  bytes 153900996 (153.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa78d8b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa78d8b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa78d8b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954241  bytes 338969015 (338.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595022  bytes 7518667262 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 767855  bytes 153903700 (153.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 767855  bytes 153903700 (153.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8c86bb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c86bb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c86bb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954301  bytes 338979627 (338.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595094  bytes 7518678952 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 767984  bytes 153921876 (153.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 767984  bytes 153921876 (153.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f94a53b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94a53b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94a53b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954343  bytes 338985637 (338.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595143  bytes 7518685345 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 768037  bytes 153925488 (153.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 768037  bytes 153925488 (153.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f92db7b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92db7b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92db7b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954408  bytes 338997345 (338.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595225  bytes 7518697881 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 768177  bytes 153945512 (153.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 768177  bytes 153945512 (153.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faba0eb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faba0eb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faba0eb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954429  bytes 338999052 (338.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595249  bytes 7518699670 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 768219  bytes 153948344 (153.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 768219  bytes 153948344 (153.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa93b3b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa93b3b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa93b3b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954483  bytes 339009347 (339.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595323  bytes 7518711531 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 768353  bytes 153966804 (153.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 768353  bytes 153966804 (153.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8208cb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8208cb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8208cb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954492  bytes 339010123 (339.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595340  bytes 7518712859 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 768384  bytes 153968832 (153.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 768384  bytes 153968832 (153.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa686fb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa686fb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa686fb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954546  bytes 339020271 (339.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595410  bytes 7518724453 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 768517  bytes 153987298 (153.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 768517  bytes 153987298 (153.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa5592b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5592b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5592b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954568  bytes 339022653 (339.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595438  bytes 7518726609 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 768565  bytes 153991658 (153.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 768565  bytes 153991658 (153.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f92293b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92293b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92293b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954653  bytes 339038189 (339.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595542  bytes 7518743676 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 768722  bytes 154011682 (154.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 768722  bytes 154011682 (154.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa6182b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6182b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6182b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954671  bytes 339039752 (339.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595565  bytes 7518745455 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 768764  bytes 154014514 (154.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 768764  bytes 154014514 (154.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9edd0b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9edd0b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9edd0b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954729  bytes 339050140 (339.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595638  bytes 7518757183 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 768899  bytes 154032966 (154.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 768899  bytes 154032966 (154.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9afc4b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9afc4b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9afc4b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954768  bytes 339055940 (339.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595680  bytes 7518763128 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 768944  bytes 154035946 (154.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 768944  bytes 154035946 (154.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f957b5b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f957b5b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f957b5b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954833  bytes 339067769 (339.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595764  bytes 7518775897 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 769095  bytes 154056722 (154.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 769095  bytes 154056722 (154.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fae0f1b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae0f1b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae0f1b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954854  bytes 339069536 (339.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595788  bytes 7518777734 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 769131  bytes 154059100 (154.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 769131  bytes 154059100 (154.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7a2a9b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a2a9b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a2a9b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954911  bytes 339080090 (339.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595864  bytes 7518789730 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 769268  bytes 154077906 (154.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 769268  bytes 154077906 (154.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f89353b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89353b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89353b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954929  bytes 339081562 (339.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595888  bytes 7518791544 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 769317  bytes 154081116 (154.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 769317  bytes 154081116 (154.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa2ec4b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2ec4b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2ec4b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2954987  bytes 339092031 (339.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595960  bytes 7518803255 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 769449  bytes 154099472 (154.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 769449  bytes 154099472 (154.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa28b1b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa28b1b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa28b1b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955004  bytes 339093915 (339.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5595986  bytes 7518805237 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 769491  bytes 154103438 (154.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 769491  bytes 154103438 (154.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fae90bb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae90bb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae90bb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955098  bytes 339109835 (339.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5596093  bytes 7518822490 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 769657  bytes 154123951 (154.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 769657  bytes 154123951 (154.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f84b6ba90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84b6ba90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84b6ba90>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955117  bytes 339111378 (339.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5596115  bytes 7518824131 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 769695  bytes 154126457 (154.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 769695  bytes 154126457 (154.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa4821a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4821a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4821a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955177  bytes 339121881 (339.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5596191  bytes 7518836056 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 769840  bytes 154145643 (154.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 769840  bytes 154145643 (154.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa3be0b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3be0b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3be0b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955215  bytes 339127491 (339.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5596236  bytes 7518842057 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 769885  bytes 154148623 (154.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 769885  bytes 154148623 (154.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb4deab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4deab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4deab00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955286  bytes 339139486 (339.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5596325  bytes 7518855082 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 770041  bytes 154169657 (154.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 770041  bytes 154169657 (154.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7f3d3b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f3d3b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f3d3b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955304  bytes 339140934 (339.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5596346  bytes 7518856642 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 770075  bytes 154171895 (154.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 770075  bytes 154171895 (154.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb63cab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb63cab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb63cab00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955363  bytes 339151434 (339.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5596419  bytes 7518868354 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 770220  bytes 154191057 (154.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 770220  bytes 154191057 (154.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f83ee4b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83ee4b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83ee4b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955383  bytes 339153058 (339.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5596443  bytes 7518870136 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 770261  bytes 154193698 (154.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 770261  bytes 154193698 (154.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa52f1b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa52f1b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa52f1b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955445  bytes 339163812 (339.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5596523  bytes 7518882452 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 770416  bytes 154213456 (154.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 770416  bytes 154213456 (154.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f886b1b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f886b1b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f886b1b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955467  bytes 339166067 (339.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5596549  bytes 7518884512 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 770462  bytes 154217618 (154.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 770462  bytes 154217618 (154.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f85eeeb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85eeeb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85eeeb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955546  bytes 339178549 (339.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5596644  bytes 7518898117 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 770627  bytes 154238095 (154.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 770627  bytes 154238095 (154.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9100bb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9100bb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9100bb00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955588  bytes 339184577 (339.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5596689  bytes 7518904320 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 770672  bytes 154241081 (154.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 770672  bytes 154241081 (154.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c2a8a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c2a8a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c2a8a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955646  bytes 339195106 (339.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5596765  bytes 7518916251 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 770820  bytes 154260435 (154.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 770820  bytes 154260435 (154.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f88eeeb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88eeeb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88eeeb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955669  bytes 339197006 (339.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5596790  bytes 7518918135 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 770861  bytes 154263113 (154.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 770861  bytes 154263113 (154.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa9865b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9865b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9865b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955753  bytes 339212829 (339.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5596895  bytes 7518935123 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 771025  bytes 154284719 (154.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 771025  bytes 154284719 (154.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa5e06b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5e06b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5e06b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955774  bytes 339214536 (339.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5596920  bytes 7518936986 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 771061  bytes 154287085 (154.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 771061  bytes 154287085 (154.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8e7b2b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e7b2b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e7b2b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955831  bytes 339224956 (339.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5596993  bytes 7518948766 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 771196  bytes 154305727 (154.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 771196  bytes 154305727 (154.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa8280a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8280a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8280a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955850  bytes 339226552 (339.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597017  bytes 7518950580 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 771230  bytes 154307965 (154.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 771230  bytes 154307965 (154.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f960afb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f960afb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f960afb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955905  bytes 339236819 (339.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597094  bytes 7518962611 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 771383  bytes 154327617 (154.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 771383  bytes 154327617 (154.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fae398b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae398b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae398b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955927  bytes 339239198 (339.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597120  bytes 7518964632 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 771427  bytes 154331639 (154.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 771427  bytes 154331639 (154.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9ea58a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ea58a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ea58a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2955993  bytes 339250307 (339.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597204  bytes 7518977253 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 771578  bytes 154351313 (154.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 771578  bytes 154351313 (154.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8a212b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a212b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a212b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956035  bytes 339256290 (339.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597248  bytes 7518983457 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 771630  bytes 154354702 (154.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 771630  bytes 154354702 (154.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9e544b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e544b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e544b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956093  bytes 339266757 (339.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597321  bytes 7518995192 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 771776  bytes 154373940 (154.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 771776  bytes 154373940 (154.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9a265a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a265a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a265a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956113  bytes 339268448 (339.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597345  bytes 7518997013 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 771812  bytes 154376318 (154.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 771812  bytes 154376318 (154.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9b1feb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b1feb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b1feb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956200  bytes 339284505 (339.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597446  bytes 7519013731 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 771982  bytes 154398252 (154.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 771982  bytes 154398252 (154.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb657da90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb657da90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb657da90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956220  bytes 339286129 (339.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597471  bytes 7519015587 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 772016  bytes 154400490 (154.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 772016  bytes 154400490 (154.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb432ab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb432ab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb432ab00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956272  bytes 339296248 (339.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597538  bytes 7519026982 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 772157  bytes 154419326 (154.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 772157  bytes 154419326 (154.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9e4fcb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e4fcb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e4fcb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956293  bytes 339297967 (339.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597567  bytes 7519029141 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 772201  bytes 154422298 (154.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 772201  bytes 154422298 (154.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9a705b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a705b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a705b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956354  bytes 339308814 (339.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597650  bytes 7519041680 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 772352  bytes 154441834 (154.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 772352  bytes 154441834 (154.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f86ebfb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86ebfb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86ebfb00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956383  bytes 339311797 (339.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597684  bytes 7519044339 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 772398  bytes 154445996 (154.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 772398  bytes 154445996 (154.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f81601b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81601b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81601b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956441  bytes 339322459 (339.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597761  bytes 7519056357 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 772553  bytes 154465938 (154.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 772553  bytes 154465938 (154.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb0d9ab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0d9ab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0d9ab00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956486  bytes 339328745 (339.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597810  bytes 7519062934 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 772611  bytes 154469721 (154.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 772611  bytes 154469721 (154.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8d573b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d573b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d573b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956546  bytes 339339425 (339.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597881  bytes 7519074522 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 772745  bytes 154488229 (154.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 772745  bytes 154488229 (154.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f81ac4b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81ac4b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81ac4b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956565  bytes 339340961 (339.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597906  bytes 7519076378 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 772779  bytes 154490467 (154.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 772779  bytes 154490467 (154.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f807a8b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f807a8b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f807a8b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956621  bytes 339348594 (339.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597964  bytes 7519083666 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 772838  bytes 154495537 (154.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 772838  bytes 154495537 (154.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f86c2aa90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86c2aa90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86c2aa90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956641  bytes 339350218 (339.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5597992  bytes 7519085744 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 772878  bytes 154498241 (154.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 772878  bytes 154498241 (154.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f86b88b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86b88b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86b88b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956690  bytes 339357434 (339.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5598050  bytes 7519094502 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 772966  bytes 154509110 (154.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 772966  bytes 154509110 (154.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9d09cb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d09cb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d09cb00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956761  bytes 339371582 (339.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5598142  bytes 7519110540 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 773147  bytes 154535217 (154.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 773147  bytes 154535217 (154.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9037ab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9037ab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9037ab00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956827  bytes 339382627 (339.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5598219  bytes 7519122813 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 773303  bytes 154555051 (154.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 773303  bytes 154555051 (154.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f76fccb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76fccb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76fccb00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956854  bytes 339385475 (339.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5598251  bytes 7519125333 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 773347  bytes 154559085 (154.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 773347  bytes 154559085 (154.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7dbd3b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7dbd3b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7dbd3b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956916  bytes 339396273 (339.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5598327  bytes 7519137425 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 773496  bytes 154578621 (154.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 773496  bytes 154578621 (154.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faafe8a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faafe8a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faafe8a90>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2956961  bytes 339402431 (339.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5598377  bytes 7519144076 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 773550  bytes 154582150 (154.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 773550  bytes 154582150 (154.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f89b1ab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89b1ab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89b1ab00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957020  bytes 339412895 (339.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5598447  bytes 7519155586 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 773682  bytes 154600482 (154.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 773682  bytes 154600482 (154.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f84232b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84232b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84232b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957040  bytes 339414543 (339.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5598474  bytes 7519157622 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 773722  bytes 154603186 (154.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 773722  bytes 154603186 (154.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f87345b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87345b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87345b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957127  bytes 339430635 (339.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5598579  bytes 7519174574 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 773878  bytes 154624274 (154.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 773878  bytes 154624274 (154.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f92368b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92368b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92368b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957149  bytes 339432488 (339.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5598610  bytes 7519176907 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 773926  bytes 154627500 (154.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 773926  bytes 154627500 (154.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d508a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d508a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d508a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957207  bytes 339442982 (339.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5598679  bytes 7519188373 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 774049  bytes 154645282 (154.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 774049  bytes 154645282 (154.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80588a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80588a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80588a90>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957217  bytes 339443781 (339.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5598696  bytes 7519189676 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 774067  bytes 154646538 (154.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 774067  bytes 154646538 (154.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f87525b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87525b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87525b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957277  bytes 339454320 (339.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5598773  bytes 7519201703 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 774213  bytes 154665718 (154.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 774213  bytes 154665718 (154.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa2166b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2166b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2166b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957303  bytes 339457073 (339.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5598807  bytes 7519204364 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 774263  bytes 154670182 (154.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 774263  bytes 154670182 (154.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f87a4db00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87a4db00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87a4db00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957363  bytes 339467931 (339.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5598882  bytes 7519216366 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 774393  bytes 154688552 (154.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 774393  bytes 154688552 (154.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f904e7b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f904e7b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f904e7b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957386  bytes 339469786 (339.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5598914  bytes 7519218891 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 774442  bytes 154691787 (154.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 774442  bytes 154691787 (154.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9d898b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d898b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d898b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957467  bytes 339484837 (339.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599009  bytes 7519235169 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 774586  bytes 154710919 (154.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 774586  bytes 154710919 (154.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9efd9b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9efd9b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9efd9b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957486  bytes 339486397 (339.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599035  bytes 7519237131 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 774626  bytes 154713623 (154.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 774626  bytes 154713623 (154.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8cf03b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8cf03b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8cf03b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957549  bytes 339498070 (339.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599114  bytes 7519249394 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 774766  bytes 154733627 (154.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 774766  bytes 154733627 (154.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f83301b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83301b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83301b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957590  bytes 339504090 (339.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599163  bytes 7519255841 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 774818  bytes 154737233 (154.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 774818  bytes 154737233 (154.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa6d44b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6d44b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6d44b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957646  bytes 339514294 (339.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599232  bytes 7519267281 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 774946  bytes 154755345 (154.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 774946  bytes 154755345 (154.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f90f7ab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90f7ab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90f7ab00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957667  bytes 339516001 (339.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599259  bytes 7519269292 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 774988  bytes 154758177 (154.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 774988  bytes 154758177 (154.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7e894b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e894b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e894b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957722  bytes 339526180 (339.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599332  bytes 7519281075 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 775118  bytes 154776405 (154.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 775118  bytes 154776405 (154.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f775cdb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f775cdb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f775cdb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957744  bytes 339528476 (339.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599364  bytes 7519283572 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 775175  bytes 154781271 (154.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 775175  bytes 154781271 (154.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8cc6bb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8cc6bb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8cc6bb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957806  bytes 339539472 (339.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599439  bytes 7519295499 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 775318  bytes 154800411 (154.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 775318  bytes 154800411 (154.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f777cab00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f777cab00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f777cab00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957829  bytes 339541428 (339.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599468  bytes 7519297691 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 775358  bytes 154803115 (154.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 775358  bytes 154803115 (154.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c973a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c973a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c973a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957913  bytes 339556585 (339.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599562  bytes 7519314013 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 775506  bytes 154822554 (154.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 775506  bytes 154822554 (154.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9e1a6b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e1a6b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e1a6b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957934  bytes 339558367 (339.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599589  bytes 7519316091 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 775546  bytes 154825258 (154.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 775546  bytes 154825258 (154.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa0f7fb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0f7fb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0f7fb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2957994  bytes 339569495 (339.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599662  bytes 7519327907 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 775683  bytes 154845090 (154.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 775683  bytes 154845090 (154.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8d9f6b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d9f6b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d9f6b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2958042  bytes 339576066 (339.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599717  bytes 7519334887 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 775736  bytes 154848702 (154.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 775736  bytes 154848702 (154.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fab8c6a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab8c6a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab8c6a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2958100  bytes 339586505 (339.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599788  bytes 7519346558 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 775869  bytes 154867110 (154.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 775869  bytes 154867110 (154.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faa6e7b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa6e7b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa6e7b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2958119  bytes 339588108 (339.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599809  bytes 7519348157 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 775905  bytes 154869488 (154.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 775905  bytes 154869488 (154.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa22ccb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa22ccb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa22ccb00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2958176  bytes 339598576 (339.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599886  bytes 7519360277 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 776047  bytes 154888592 (154.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 776047  bytes 154888592 (154.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8d767b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d767b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d767b00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2958198  bytes 339601020 (339.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599918  bytes 7519362789 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 776106  bytes 154893599 (154.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 776106  bytes 154893599 (154.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb13c8a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb13c8a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb13c8a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2958256  bytes 339611552 (339.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5599991  bytes 7519374509 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 776245  bytes 154912437 (154.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 776245  bytes 154912437 (154.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7facf6ba90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7facf6ba90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7facf6ba90>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2958276  bytes 339613231 (339.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5600017  bytes 7519376478 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 776287  bytes 154915269 (154.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 776287  bytes 154915269 (154.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f82649a90>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82649a90>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82649a90>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2958357  bytes 339628215 (339.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5600113  bytes 7519392875 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 776442  bytes 154935012 (154.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 776442  bytes 154935012 (154.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7a9f5b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a9f5b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a9f5b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2958377  bytes 339629906 (339.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5600138  bytes 7519394770 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 776484  bytes 154937856 (154.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 776484  bytes 154937856 (154.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa0885b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0885b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0885b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2958443  bytes 339641377 (339.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5600212  bytes 7519406683 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 776619  bytes 154957608 (154.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 776619  bytes 154957608 (154.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb5918b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5918b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5918b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2958485  bytes 339647476 (339.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5600258  bytes 7519412917 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 776664  bytes 154960588 (154.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 776664  bytes 154960588 (154.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb3142b00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3142b00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3142b00>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2958545  bytes 339658118 (339.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5600335  bytes 7519425071 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 776801  bytes 154979396 (154.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 776801  bytes 154979396 (154.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9249bb00>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9249bb00>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9249bb00>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:37:7a:f5:b2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2958567  bytes 339659995 (339.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5600365  bytes 7519427630 (7.5 GB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 776842  bytes 154982222 (154.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 776842  bytes 154982222 (154.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 73, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8ed35b00>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ed35b00>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ed35b00>: Failed to establish a new connection: [Errno -2] Name or service not known',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 99  bytes 62447 (62.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121  bytes 17292 (17.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 622  bytes 47006 (47.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 622  bytes 47006 (47.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa6ab3b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6ab3b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6ab3b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 229  bytes 150472 (150.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260  bytes 34470 (34.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 778  bytes 67263 (67.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 778  bytes 67263 (67.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb302db38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb302db38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb302db38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 255  bytes 152645 (152.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 291  bytes 36839 (36.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 828  bytes 70691 (70.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 828  bytes 70691 (70.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb2115b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2115b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2115b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 315  bytes 163273 (163.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 366  bytes 48819 (48.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 962  bytes 89281 (89.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 962  bytes 89281 (89.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faddadb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faddadb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faddadb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 335  bytes 164952 (164.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 389  bytes 50582 (50.5 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 1004  bytes 92113 (92.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1004  bytes 92113 (92.1 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb3568b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3568b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3568b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 399  bytes 176597 (176.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 472  bytes 63143 (63.1 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 1154  bytes 112941 (112.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1154  bytes 112941 (112.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa05adb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa05adb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa05adb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 423  bytes 178674 (178.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 501  bytes 65390 (65.3 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 1188  bytes 115179 (115.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1188  bytes 115179 (115.1 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8b4f3b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b4f3b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b4f3b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 481  bytes 189078 (189.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 576  bytes 77270 (77.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 1322  bytes 133769 (133.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1322  bytes 133769 (133.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa4408b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4408b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4408b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 503  bytes 190938 (190.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 603  bytes 79306 (79.3 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 1368  bytes 136855 (136.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1368  bytes 136855 (136.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80addb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80addb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80addb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 562  bytes 201516 (201.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 675  bytes 90986 (90.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 1505  bytes 155579 (155.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1505  bytes 155579 (155.5 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa66bcac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa66bcac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa66bcac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 588  bytes 204219 (204.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 706  bytes 93469 (93.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 1558  bytes 160239 (160.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1558  bytes 160239 (160.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f99016b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99016b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99016b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 677  bytes 221411 (221.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 806  bytes 110379 (110.3 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 1692  bytes 176766 (176.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1692  bytes 176766 (176.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7dd12b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7dd12b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7dd12b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 695  bytes 222885 (222.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 827  bytes 111985 (111.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 1728  bytes 179146 (179.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1728  bytes 179146 (179.1 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8d8b5b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d8b5b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d8b5b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 754  bytes 233349 (233.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 900  bytes 123733 (123.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 1862  bytes 197736 (197.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1862  bytes 197736 (197.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7a218b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a218b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a218b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 773  bytes 235015 (235.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 922  bytes 125445 (125.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 1896  bytes 199974 (199.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1896  bytes 199974 (199.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8fab3ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8fab3ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8fab3ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 839  bytes 246780 (246.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1006  bytes 138098 (138.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 2049  bytes 220934 (220.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2049  bytes 220934 (220.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7988fac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7988fac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7988fac8>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 857  bytes 248350 (248.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1029  bytes 139884 (139.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 2087  bytes 223440 (223.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2087  bytes 223440 (223.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f95ebbb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95ebbb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95ebbb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 913  bytes 258662 (258.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1096  bytes 151236 (151.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 2216  bytes 241616 (241.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2216  bytes 241616 (241.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78730ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78730ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78730ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 932  bytes 260258 (260.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1123  bytes 153272 (153.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 2256  bytes 244320 (244.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2256  bytes 244320 (244.3 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faa6d9ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa6d9ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa6d9ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 995  bytes 271214 (271.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1198  bytes 165196 (165.1 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 2393  bytes 263054 (263.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2393  bytes 263054 (263.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f87457b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87457b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87457b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1022  bytes 273995 (273.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1232  bytes 167825 (167.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 2441  bytes 267414 (267.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2441  bytes 267414 (267.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d784b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d784b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d784b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1125  bytes 293406 (293.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1354  bytes 188876 (188.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 2618  bytes 288854 (288.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2618  bytes 288854 (288.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f94d07b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94d07b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94d07b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1145  bytes 295097 (295.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1379  bytes 190771 (190.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 2654  bytes 291232 (291.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2654  bytes 291232 (291.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78b7db38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78b7db38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78b7db38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1207  bytes 305907 (305.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1453  bytes 202635 (202.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 2797  bytes 310290 (310.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2797  bytes 310290 (310.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f812b1b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f812b1b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f812b1b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1223  bytes 307210 (307.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1473  bytes 204160 (204.1 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 2833  bytes 312668 (312.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2833  bytes 312668 (312.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93bd1b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93bd1b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93bd1b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2055  bytes 1412430 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2001  bytes 251860 (251.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 3009  bytes 336084 (336.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3009  bytes 336084 (336.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9c087b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c087b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c087b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2076  bytes 1414204 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2031  bytes 254132 (254.1 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 3059  bytes 339450 (339.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3059  bytes 339450 (339.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9d7fcb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d7fcb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d7fcb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2134  bytes 1424930 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2104  bytes 265946 (265.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 3190  bytes 357850 (357.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3190  bytes 357850 (357.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f990b1b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f990b1b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f990b1b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2144  bytes 1425698 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2121  bytes 267242 (267.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 3206  bytes 358978 (358.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3206  bytes 358978 (358.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa9bfcb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9bfcb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9bfcb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2205  bytes 1436560 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2194  bytes 279048 (279.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 3348  bytes 377912 (377.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3348  bytes 377912 (377.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f82a72b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82a72b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82a72b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2226  bytes 1438760 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2220  bytes 281030 (281.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 3396  bytes 382272 (382.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3396  bytes 382272 (382.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb2b7cb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2b7cb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2b7cb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2333  bytes 1458633 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2348  bytes 302649 (302.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 3572  bytes 403592 (403.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3572  bytes 403592 (403.5 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f844aab38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f844aab38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f844aab38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2353  bytes 1460271 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2376  bytes 304753 (304.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 3616  bytes 406566 (406.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3616  bytes 406566 (406.5 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9d95eb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d95eb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d95eb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2410  bytes 1470771 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2445  bytes 316213 (316.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 3748  bytes 424898 (424.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3748  bytes 424898 (424.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa3610b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3610b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3610b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2429  bytes 1472374 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2472  bytes 318256 (318.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 3790  bytes 427742 (427.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3790  bytes 427742 (427.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb53a9b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb53a9b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb53a9b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2487  bytes 1483553 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2544  bytes 329977 (329.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 3933  bytes 447922 (447.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3933  bytes 447922 (447.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80f16ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80f16ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80f16ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2514  bytes 1485819 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2579  bytes 332661 (332.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 3977  bytes 450920 (450.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3977  bytes 450920 (450.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faab5db38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faab5db38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faab5db38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2569  bytes 1496019 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2646  bytes 343997 (343.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 4106  bytes 469096 (469.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4106  bytes 469096 (469.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f917dbb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f917dbb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f917dbb38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2587  bytes 1497534 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2671  bytes 345892 (345.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 4148  bytes 471940 (471.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4148  bytes 471940 (471.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9f79ab38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f79ab38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f79ab38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2650  bytes 1508482 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2749  bytes 358042 (358.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 4292  bytes 491096 (491.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4292  bytes 491096 (491.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f87b7fb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87b7fb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87b7fb38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2677  bytes 1511377 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2782  bytes 360655 (360.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 4340  bytes 495456 (495.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4340  bytes 495456 (495.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8caceb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8caceb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8caceb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2740  bytes 1522328 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2862  bytes 373080 (373.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 4493  bytes 515100 (515.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4493  bytes 515100 (515.1 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fac140b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac140b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac140b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2796  bytes 1532105 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2930  bytes 383621 (383.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 4563  bytes 519783 (519.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4563  bytes 519783 (519.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faec66b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faec66b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faec66b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2859  bytes 1542848 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3000  bytes 395134 (395.1 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 4701  bytes 538463 (538.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4701  bytes 538463 (538.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb0890b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0890b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0890b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2879  bytes 1544624 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3028  bytes 397300 (397.3 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 4741  bytes 541167 (541.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4741  bytes 541167 (541.1 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9d1e5b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d1e5b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d1e5b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2946  bytes 1556493 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3106  bytes 409565 (409.5 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 4878  bytes 560999 (560.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4878  bytes 560999 (560.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f90184ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90184ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90184ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2965  bytes 1558029 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3132  bytes 411495 (411.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 4918  bytes 563703 (563.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4918  bytes 563703 (563.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8d7a6b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d7a6b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d7a6b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3029  bytes 1568795 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3204  bytes 423235 (423.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 5053  bytes 582251 (582.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5053  bytes 582251 (582.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9578ab38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9578ab38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9578ab38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3048  bytes 1570398 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3229  bytes 425130 (425.1 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 5095  bytes 585095 (585.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5095  bytes 585095 (585.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7b473b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b473b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b473b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3106  bytes 1580926 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3301  bytes 436824 (436.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 5225  bytes 603323 (603.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5225  bytes 603323 (603.3 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7e6f3b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e6f3b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e6f3b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3129  bytes 1583310 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3328  bytes 438951 (438.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 5267  bytes 607217 (607.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5267  bytes 607217 (607.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb2cfab38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2cfab38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2cfab38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3190  bytes 1594211 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3407  bytes 451099 (451.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 5413  bytes 626573 (626.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5413  bytes 626573 (626.5 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8a62bb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a62bb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a62bb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3261  bytes 1604910 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3486  bytes 462676 (462.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 5495  bytes 631957 (631.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5495  bytes 631957 (631.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7e5a8b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e5a8b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e5a8b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3324  bytes 1615844 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3560  bytes 474496 (474.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 5637  bytes 650869 (650.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5637  bytes 650869 (650.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d237b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d237b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d237b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3344  bytes 1617487 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3586  bytes 476465 (476.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 5679  bytes 653701 (653.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5679  bytes 653701 (653.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa4ce3b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4ce3b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4ce3b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3402  bytes 1628495 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3661  bytes 488469 (488.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 5824  bytes 673949 (673.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5824  bytes 673949 (673.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa6ed2b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6ed2b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6ed2b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3422  bytes 1630274 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3687  bytes 490500 (490.5 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 5864  bytes 676653 (676.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5864  bytes 676653 (676.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faa4b4b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa4b4b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa4b4b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3480  bytes 1640745 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3763  bytes 502453 (502.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 6000  bytes 695217 (695.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6000  bytes 695217 (695.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb505ab38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb505ab38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb505ab38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3501  bytes 1642464 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3787  bytes 504242 (504.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 6036  bytes 697595 (697.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6036  bytes 697595 (697.5 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9f5b5b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f5b5b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f5b5b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3563  bytes 1653699 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3871  bytes 517087 (517.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 6181  bytes 716793 (716.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6181  bytes 716793 (716.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb0124b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0124b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0124b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3584  bytes 1656012 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3895  bytes 519008 (519.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 6223  bytes 720687 (720.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6223  bytes 720687 (720.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f85335ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85335ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85335ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3646  bytes 1667110 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3973  bytes 531264 (531.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 6365  bytes 739835 (739.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6365  bytes 739835 (739.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8e5c7b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e5c7b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e5c7b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3711  bytes 1677413 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4048  bytes 542613 (542.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 6447  bytes 745245 (745.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6447  bytes 745245 (745.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80f9db38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80f9db38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80f9db38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3732  bytes 1679144 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4073  bytes 544508 (544.5 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 6483  bytes 747611 (747.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6483  bytes 747611 (747.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f92e68b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92e68b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92e68b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3747  bytes 1680412 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4091  bytes 545910 (545.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 6523  bytes 750315 (750.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6523  bytes 750315 (750.3 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f899d5b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f899d5b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f899d5b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3793  bytes 1687903 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4149  bytes 553565 (553.5 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 6617  bytes 762744 (762.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6617  bytes 762744 (762.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f921e2b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f921e2b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f921e2b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3849  bytes 1698317 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4219  bytes 565085 (565.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 6753  bytes 781284 (781.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6753  bytes 781284 (781.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb120fb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb120fb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb120fb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3926  bytes 1712935 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4318  bytes 582343 (582.3 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 6943  bytes 808075 (808.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6943  bytes 808075 (808.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f84aa0b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84aa0b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84aa0b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3946  bytes 1714621 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4341  bytes 584097 (584.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 6981  bytes 810581 (810.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6981  bytes 810581 (810.5 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fad5cab38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad5cab38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad5cab38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3998  bytes 1724764 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4411  bytes 595622 (595.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 7125  bytes 829715 (829.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7125  bytes 829715 (829.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f998a5b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f998a5b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f998a5b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4016  bytes 1726763 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4434  bytes 597492 (597.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 7169  bytes 833737 (833.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7169  bytes 833737 (833.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93039b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93039b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93039b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4081  bytes 1738048 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4515  bytes 609884 (609.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 7316  bytes 853203 (853.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7316  bytes 853203 (853.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f862d4b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f862d4b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f862d4b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4142  bytes 1748307 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4584  bytes 620681 (620.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 7388  bytes 857876 (857.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7388  bytes 857876 (857.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb4384b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4384b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4384b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4202  bytes 1758971 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4660  bytes 632723 (632.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 7527  bytes 876764 (876.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7527  bytes 876764 (876.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9f714b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f714b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f714b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4223  bytes 1760750 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4684  bytes 634544 (634.5 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 7563  bytes 879142 (879.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7563  bytes 879142 (879.1 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93176ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93176ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93176ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4284  bytes 1771926 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4758  bytes 646446 (646.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 7711  bytes 899782 (899.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7711  bytes 899782 (899.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f84417b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84417b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84417b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4309  bytes 1774062 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4784  bytes 648470 (648.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 7741  bytes 901754 (901.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7741  bytes 901754 (901.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80d48b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80d48b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80d48b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4371  bytes 1784790 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4861  bytes 660570 (660.5 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 7887  bytes 920968 (920.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7887  bytes 920968 (920.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb11d7b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb11d7b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb11d7b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4388  bytes 1786114 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4880  bytes 661982 (661.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 7921  bytes 923206 (923.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7921  bytes 923206 (923.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f84319b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84319b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84319b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4442  bytes 1796422 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4952  bytes 673724 (673.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 8066  bytes 942486 (942.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8066  bytes 942486 (942.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f905a3b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f905a3b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f905a3b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4470  bytes 1799294 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4983  bytes 676138 (676.1 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 8104  bytes 946126 (946.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8104  bytes 946126 (946.1 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8e1fbb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e1fbb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e1fbb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4531  bytes 1810209 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5060  bytes 688249 (688.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 8246  bytes 965298 (965.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8246  bytes 965298 (965.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa4046b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4046b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4046b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4551  bytes 1811870 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5085  bytes 690302 (690.3 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 8292  bytes 968239 (968.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8292  bytes 968239 (968.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb006fb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb006fb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb006fb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4654  bytes 1831072 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5208  bytes 711434 (711.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 8462  bytes 989182 (989.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8462  bytes 989182 (989.1 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb68e0b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb68e0b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb68e0b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4673  bytes 1832675 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5232  bytes 713262 (713.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 8498  bytes 991560 (991.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8498  bytes 991560 (991.5 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa2dfdb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2dfdb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2dfdb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4733  bytes 1844196 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5315  bytes 725945 (725.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 8650  bytes 1012326 (1.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8650  bytes 1012326 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f99509b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99509b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99509b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4750  bytes 1845640 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5335  bytes 727495 (727.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 8684  bytes 1014564 (1.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8684  bytes 1014564 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa8fa5b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8fa5b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8fa5b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4804  bytes 1856036 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5407  bytes 739189 (739.1 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 8833  bytes 1033994 (1.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8833  bytes 1033994 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb4895b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4895b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4895b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4824  bytes 1857660 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5431  bytes 740971 (740.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 8867  bytes 1036232 (1.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8867  bytes 1036232 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa1f5cac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1f5cac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1f5cac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4881  bytes 1868140 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5505  bytes 752841 (752.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 9009  bytes 1055320 (1.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9009  bytes 1055320 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7cf74b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7cf74b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7cf74b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4908  bytes 1870917 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5536  bytes 755248 (755.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 9051  bytes 1059214 (1.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9051  bytes 1059214 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7f8d6ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f8d6ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f8d6ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4969  bytes 1881945 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5613  bytes 767316 (767.3 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 9188  bytes 1078006 (1.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9188  bytes 1078006 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9fb0fb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9fb0fb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9fb0fb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4989  bytes 1883533 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5640  bytes 769320 (769.3 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 9228  bytes 1080710 (1.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9228  bytes 1080710 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9806bb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9806bb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9806bb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5091  bytes 1902708 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5763  bytes 790517 (790.5 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 9409  bytes 1102239 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9409  bytes 1102239 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f940e6b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f940e6b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f940e6b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5111  bytes 1904402 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5786  bytes 792271 (792.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 9443  bytes 1104477 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9443  bytes 1104477 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93b0ab38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93b0ab38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93b0ab38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5177  bytes 1915830 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5861  bytes 804251 (804.2 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 9590  bytes 1124983 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9590  bytes 1124983 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8ce1eb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ce1eb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ce1eb38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5199  bytes 1917643 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5888  bytes 806310 (806.3 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 9624  bytes 1127221 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9624  bytes 1127221 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8539eb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8539eb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8539eb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5257  bytes 1928375 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5964  bytes 818368 (818.3 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 9762  bytes 1146081 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9762  bytes 1146081 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f94345b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94345b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94345b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5279  bytes 1930177 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5991  bytes 820386 (820.3 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 9800  bytes 1148587 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9800  bytes 1148587 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f85d71b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85d71b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85d71b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5336  bytes 1940553 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6061  bytes 831980 (831.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 9929  bytes 1166763 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9929  bytes 1166763 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8c2cbb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c2cbb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c2cbb38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5362  bytes 1943246 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6095  bytes 834609 (834.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 9977  bytes 1171123 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9977  bytes 1171123 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa26d6b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa26d6b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa26d6b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5424  bytes 1954205 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6173  bytes 846782 (846.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 10122  bytes 1190355 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10122  bytes 1190355 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb4474b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4474b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4474b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5446  bytes 1955940 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6203  bytes 848983 (848.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 10164  bytes 1193187 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10164  bytes 1193187 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8ea63b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ea63b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ea63b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5548  bytes 1975186 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6325  bytes 870065 (870.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 10346  bytes 1214806 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10346  bytes 1214806 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f90e73b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90e73b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90e73b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5567  bytes 1976688 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6348  bytes 871787 (871.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 10384  bytes 1217312 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10384  bytes 1217312 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93d3eb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93d3eb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93d3eb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5637  bytes 1988479 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6422  bytes 883838 (883.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 10530  bytes 1237766 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10530  bytes 1237766 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8f114b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f114b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f114b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5658  bytes 1990198 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6450  bytes 885923 (885.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 10566  bytes 1240144 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10566  bytes 1240144 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f82d6db38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82d6db38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82d6db38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5717  bytes 2000794 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6523  bytes 897723 (897.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 10698  bytes 1258476 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10698  bytes 1258476 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7bfa1b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7bfa1b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7bfa1b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5734  bytes 2002094 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6549  bytes 899621 (899.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 10744  bytes 1261574 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10744  bytes 1261574 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8e0eeb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e0eeb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e0eeb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5793  bytes 2012765 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6620  bytes 911316 (911.3 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 10878  bytes 1279952 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10878  bytes 1279952 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f82468b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82468b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82468b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5818  bytes 2015466 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6654  bytes 913977 (913.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 10926  bytes 1284312 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10926  bytes 1284312 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f97b67b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97b67b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97b67b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5882  bytes 2026401 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6729  bytes 925888 (925.8 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 11073  bytes 1303602 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11073  bytes 1303602 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f886d4b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f886d4b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f886d4b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5897  bytes 2027609 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6751  bytes 927554 (927.5 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 11113  bytes 1306306 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11113  bytes 1306306 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7960fb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7960fb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7960fb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6001  bytes 2046976 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6871  bytes 948389 (948.3 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 11285  bytes 1327251 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11285  bytes 1327251 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8b108b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b108b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b108b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6021  bytes 2048600 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6899  bytes 950467 (950.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 11327  bytes 1330059 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11327  bytes 1330059 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9e314b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e314b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e314b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6083  bytes 2059912 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6973  bytes 962313 (962.3 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 11470  bytes 1350203 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11470  bytes 1350203 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa5417b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5417b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5417b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6104  bytes 2061737 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7003  bytes 964626 (964.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 11510  bytes 1352907 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11510  bytes 1352907 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fad01bb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad01bb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad01bb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6158  bytes 2072001 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7069  bytes 975940 (975.9 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 11632  bytes 1370719 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11632  bytes 1370719 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8b8f5b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b8f5b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b8f5b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6180  bytes 2073760 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7098  bytes 978099 (978.0 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 11674  bytes 1373551 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11674  bytes 1373551 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa59cab38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa59cab38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa59cab38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6234  bytes 2084162 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7168  bytes 989731 (989.7 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 11810  bytes 1392151 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11810  bytes 1392151 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7abebb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7abebb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7abebb38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6259  bytes 2086923 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7202  bytes 992424 (992.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 11860  bytes 1396653 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11860  bytes 1396653 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8eaccac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8eaccac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8eaccac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6321  bytes 2097967 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7279  bytes 1004536 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 11991  bytes 1415075 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11991  bytes 1415075 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb0814b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0814b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0814b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6341  bytes 2099615 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7304  bytes 1006424 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 12031  bytes 1417779 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12031  bytes 1417779 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f82692b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82692b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82692b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6399  bytes 2110035 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7375  bytes 1018204 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 12165  bytes 1436270 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12165  bytes 1436270 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f90996b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90996b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90996b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6462  bytes 2120385 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7448  bytes 1029128 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 12237  bytes 1441078 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12237  bytes 1441078 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa6bd9b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6bd9b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6bd9b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6529  bytes 2132094 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7526  bytes 1041385 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 12378  bytes 1461118 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12378  bytes 1461118 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa62cbac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa62cbac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa62cbac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6548  bytes 2133654 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7551  bytes 1043273 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 12418  bytes 1463822 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12418  bytes 1463822 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb68b8b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb68b8b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb68b8b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6565  bytes 2135081 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7572  bytes 1044872 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 12454  bytes 1466200 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12454  bytes 1466200 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8d373b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d373b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d373b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6619  bytes 2145323 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7644  bytes 1056604 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 12590  bytes 1484956 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12590  bytes 1484956 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7bbddb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7bbddb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7bbddb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6679  bytes 2155929 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7718  bytes 1068492 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 12729  bytes 1503712 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12729  bytes 1503712 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa0be5b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0be5b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0be5b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6702  bytes 2158389 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7746  bytes 1070670 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 12777  bytes 1508072 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12777  bytes 1508072 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8727fb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8727fb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8727fb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6767  bytes 2169490 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7828  bytes 1083139 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 12916  bytes 1526968 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12916  bytes 1526968 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa108ab38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa108ab38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa108ab38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6785  bytes 2170902 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7847  bytes 1084551 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 12950  bytes 1529206 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12950  bytes 1529206 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa1d5dac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1d5dac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1d5dac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6841  bytes 2181316 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7921  bytes 1096419 (1.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 13090  bytes 1548108 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13090  bytes 1548108 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb43d6b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb43d6b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb43d6b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6899  bytes 2191142 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7991  bytes 1107245 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 13174  bytes 1553657 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13174  bytes 1553657 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f980f3b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f980f3b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f980f3b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6966  bytes 2202817 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8071  bytes 1119600 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 13315  bytes 1573795 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13315  bytes 1573795 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faa79db38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa79db38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa79db38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6989  bytes 2204705 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8100  bytes 1121760 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 13357  bytes 1576641 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13357  bytes 1576641 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8c3cdb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c3cdb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c3cdb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7049  bytes 2215213 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8172  bytes 1133434 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 13478  bytes 1594401 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13478  bytes 1594401 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8f6ddb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f6ddb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f6ddb38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7069  bytes 2216837 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8196  bytes 1135216 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 13518  bytes 1597105 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13518  bytes 1597105 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fad8d6b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad8d6b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad8d6b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7089  bytes 2218487 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8221  bytes 1137118 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 13556  bytes 1599611 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13556  bytes 1599611 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb1c84b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1c84b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1c84b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7115  bytes 2221216 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8251  bytes 1139451 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 13598  bytes 1603505 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13598  bytes 1603505 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa954fac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa954fac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa954fac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7203  bytes 2237224 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8357  bytes 1156969 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 13795  bytes 1631402 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13795  bytes 1631402 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7e17eb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e17eb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e17eb38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7241  bytes 2242960 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8404  bytes 1163573 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 13875  bytes 1641259 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13875  bytes 1641259 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9b9ffb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b9ffb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b9ffb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7297  bytes 2253184 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8476  bytes 1175263 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 14022  bytes 1660607 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14022  bytes 1660607 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8ecf1b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ecf1b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ecf1b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7366  bytes 2263852 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8551  bytes 1186573 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 14095  bytes 1665381 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14095  bytes 1665381 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8aa47b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8aa47b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8aa47b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7414  bytes 2271549 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8610  bytes 1194276 (1.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 14187  bytes 1677646 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14187  bytes 1677646 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8336db38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8336db38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8336db38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7452  bytes 2277371 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8654  bytes 1200700 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 14273  bytes 1687875 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14273  bytes 1687875 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9b81bb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b81bb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b81bb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7507  bytes 2287651 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8727  bytes 1212480 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 14405  bytes 1706361 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14405  bytes 1706361 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f91151b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91151b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91151b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7514  bytes 2288311 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8739  bytes 1213470 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 14421  bytes 1707417 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14421  bytes 1707417 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f886e4b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f886e4b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f886e4b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7575  bytes 2299075 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8817  bytes 1225604 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 14560  bytes 1726267 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14560  bytes 1726267 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7dbc9b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7dbc9b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7dbc9b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7593  bytes 2301071 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8837  bytes 1227174 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 14602  bytes 1730161 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14602  bytes 1730161 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80317b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80317b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80317b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7656  bytes 2312127 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8920  bytes 1239808 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 14753  bytes 1749871 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14753  bytes 1749871 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb054eb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb054eb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb054eb38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7678  bytes 2313886 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8944  bytes 1241597 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 14789  bytes 1752237 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14789  bytes 1752237 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8990ab38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8990ab38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8990ab38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7736  bytes 2324524 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9020  bytes 1253573 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 14926  bytes 1770983 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14926  bytes 1770983 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb2c7bac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2c7bac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2c7bac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7799  bytes 2334733 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9090  bytes 1264386 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 14996  bytes 1775526 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14996  bytes 1775526 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7a768b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a768b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a768b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7866  bytes 2346584 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9172  bytes 1276981 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 15145  bytes 1796136 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15145  bytes 1796136 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa9f23b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9f23b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9f23b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7886  bytes 2348321 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9195  bytes 1278742 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 15181  bytes 1798514 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15181  bytes 1798514 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa03e8b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa03e8b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa03e8b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7946  bytes 2358844 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9271  bytes 1290743 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 15322  bytes 1817456 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15322  bytes 1817456 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8601fac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8601fac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8601fac8>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7962  bytes 2360140 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9289  bytes 1292113 (1.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 15356  bytes 1819694 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15356  bytes 1819694 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa07b1b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa07b1b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa07b1b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8018  bytes 2370509 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9364  bytes 1304058 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 15499  bytes 1838838 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15499  bytes 1838838 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa0458b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0458b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0458b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8044  bytes 2373202 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9394  bytes 1306391 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 15541  bytes 1842732 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15541  bytes 1842732 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f87481ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87481ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87481ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8106  bytes 2383990 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9472  bytes 1318593 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 15681  bytes 1861834 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15681  bytes 1861834 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa3467b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3467b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3467b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8127  bytes 2385668 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9496  bytes 1320389 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 15719  bytes 1864340 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15719  bytes 1864340 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f92b99b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92b99b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92b99b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8185  bytes 2396020 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9569  bytes 1332153 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 15855  bytes 1882998 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15855  bytes 1882998 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f97dc4b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97dc4b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97dc4b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8212  bytes 2398073 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9604  bytes 1335167 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 15914  bytes 1886823 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15914  bytes 1886823 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f87cb5b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87cb5b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87cb5b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8312  bytes 2417847 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9719  bytes 1355448 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 16075  bytes 1908268 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16075  bytes 1908268 (1.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f87a67ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87a67ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87a67ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8335  bytes 2419737 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9745  bytes 1357392 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 16111  bytes 1910648 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16111  bytes 1910648 (1.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8417cb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8417cb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8417cb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8396  bytes 2430531 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9824  bytes 1369602 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 16257  bytes 1929922 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16257  bytes 1929922 (1.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb4755ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4755ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4755ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8418  bytes 2432295 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9849  bytes 1371458 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 16291  bytes 1932160 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16291  bytes 1932160 (1.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8dbdcb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8dbdcb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8dbdcb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8479  bytes 2442995 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9925  bytes 1383468 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 16430  bytes 1951048 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16430  bytes 1951048 (1.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f88a37ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88a37ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88a37ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8503  bytes 2445548 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9954  bytes 1385727 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 16472  bytes 1954942 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16472  bytes 1954942 (1.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa1372b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1372b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1372b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8567  bytes 2456650 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10033  bytes 1397901 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 16620  bytes 1974402 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16620  bytes 1974402 (1.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c7bdb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c7bdb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c7bdb38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8586  bytes 2458152 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10057  bytes 1399697 (1.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 16658  bytes 1976908 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16658  bytes 1976908 (1.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb60a7b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb60a7b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb60a7b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8646  bytes 2468684 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10127  bytes 1411231 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 16789  bytes 1995180 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16789  bytes 1995180 (1.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c9dfb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c9dfb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c9dfb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8667  bytes 2470360 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10156  bytes 1413467 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 16839  bytes 1998458 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16839  bytes 1998458 (1.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa72f7b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa72f7b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa72f7b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8777  bytes 2490593 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10280  bytes 1434672 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 17017  bytes 2020956 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17017  bytes 2020956 (2.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93fb5ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93fb5ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93fb5ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8797  bytes 2492290 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10304  bytes 1436541 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 17051  bytes 2023194 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17051  bytes 2023194 (2.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb5979b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5979b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5979b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8857  bytes 2502805 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10377  bytes 1448332 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 17196  bytes 2042416 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17196  bytes 2042416 (2.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faa545b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa545b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa545b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8879  bytes 2504667 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10405  bytes 1450456 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 17240  bytes 2045316 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17240  bytes 2045316 (2.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb2e79ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2e79ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2e79ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8937  bytes 2515103 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10471  bytes 1461682 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 17382  bytes 2064322 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17382  bytes 2064322 (2.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7fcc9b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fcc9b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fcc9b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8966  bytes 2518094 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10508  bytes 1464547 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 17428  bytes 2068484 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17428  bytes 2068484 (2.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb30f1b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb30f1b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb30f1b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9029  bytes 2529190 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10584  bytes 1476525 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 17573  bytes 2087634 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17573  bytes 2087634 (2.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa4895b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4895b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4895b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9050  bytes 2530861 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10612  bytes 1478610 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 17615  bytes 2090466 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17615  bytes 2090466 (2.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f76d14b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76d14b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76d14b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9110  bytes 2541518 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10685  bytes 1490431 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 17755  bytes 2109288 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17755  bytes 2109288 (2.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa5c50b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5c50b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5c50b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9130  bytes 2543142 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10713  bytes 1492509 (1.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 17795  bytes 2111992 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17795  bytes 2111992 (2.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7f822b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f822b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f822b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9241  bytes 2563541 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10838  bytes 1513914 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 17980  bytes 2134959 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17980  bytes 2134959 (2.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8d164b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d164b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d164b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9267  bytes 2565812 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10870  bytes 1516389 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 18014  bytes 2137197 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18014  bytes 2137197 (2.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f76cf0b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76cf0b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76cf0b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9323  bytes 2576072 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10937  bytes 1527665 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 18147  bytes 2155581 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18147  bytes 2155581 (2.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f83550b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83550b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83550b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9346  bytes 2577962 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10968  bytes 1529979 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 18191  bytes 2158553 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18191  bytes 2158553 (2.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f88112b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88112b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88112b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9407  bytes 2588602 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11040  bytes 1541757 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 18319  bytes 2176677 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18319  bytes 2176677 (2.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f82fdaac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82fdaac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82fdaac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9436  bytes 2591667 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11079  bytes 1544808 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 18375  bytes 2181597 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18375  bytes 2181597 (2.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80d08b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80d08b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80d08b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9493  bytes 2602123 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11152  bytes 1556556 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 18518  bytes 2200701 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18518  bytes 2200701 (2.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb14edb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb14edb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb14edb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9515  bytes 2603887 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11180  bytes 1558634 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 18552  bytes 2203011 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18552  bytes 2203011 (2.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7face65b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7face65b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7face65b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9576  bytes 2614577 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11250  bytes 1570154 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 18683  bytes 2221351 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18683  bytes 2221351 (2.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f892a6ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f892a6ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f892a6ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9596  bytes 2616268 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11277  bytes 1572197 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 18725  bytes 2224195 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18725  bytes 2224195 (2.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8b888b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b888b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b888b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9699  bytes 2636138 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11396  bytes 1593049 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 18907  bytes 2246837 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18907  bytes 2246837 (2.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9e4a9ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e4a9ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e4a9ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9722  bytes 2638221 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11427  bytes 1595494 (1.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 18949  bytes 2249645 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18949  bytes 2249645 (2.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fabe1db38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fabe1db38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fabe1db38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9787  bytes 2649219 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11501  bytes 1607378 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 19086  bytes 2268297 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19086  bytes 2268297 (2.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa6ce2b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6ce2b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6ce2b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9808  bytes 2651025 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11530  bytes 1609592 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 19126  bytes 2271001 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19126  bytes 2271001 (2.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9d7bcb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d7bcb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d7bcb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9866  bytes 2661463 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11600  bytes 1621178 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 19264  bytes 2289645 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19264  bytes 2289645 (2.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9fff4b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9fff4b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9fff4b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9888  bytes 2663960 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11630  bytes 1623575 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 19312  bytes 2294005 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19312  bytes 2294005 (2.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faf9f5b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf9f5b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf9f5b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9952  bytes 2675075 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11709  bytes 1636142 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 19452  bytes 2312989 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19452  bytes 2312989 (2.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f90af6ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90af6ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90af6ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9974  bytes 2676940 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11737  bytes 1638273 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 19494  bytes 2315821 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19494  bytes 2315821 (2.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa580bb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa580bb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa580bb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10028  bytes 2687132 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11806  bytes 1649653 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 19634  bytes 2334569 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19634  bytes 2334569 (2.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f830f7b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f830f7b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f830f7b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10050  bytes 2688932 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11834  bytes 1651731 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 19674  bytes 2337273 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19674  bytes 2337273 (2.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb1b12b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1b12b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1b12b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10117  bytes 2700748 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11917  bytes 1664501 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 19836  bytes 2358577 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19836  bytes 2358577 (2.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa6024b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6024b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6024b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10186  bytes 2711372 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11990  bytes 1675491 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 19898  bytes 2362724 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19898  bytes 2362724 (2.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93050b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93050b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93050b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10247  bytes 2721983 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12062  bytes 1687088 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 20031  bytes 2381132 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20031  bytes 2381132 (2.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faa716ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa716ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa716ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10256  bytes 2722699 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12081  bytes 1688532 (1.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 20059  bytes 2383048 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20059  bytes 2383048 (2.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9be98b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9be98b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9be98b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10315  bytes 2733295 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12150  bytes 1700016 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 20186  bytes 2401038 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20186  bytes 2401038 (2.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa9fa8b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9fa8b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9fa8b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10337  bytes 2735626 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12179  bytes 1702227 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 20236  bytes 2405538 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20236  bytes 2405538 (2.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9f03aac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f03aac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f03aac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10398  bytes 2746503 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12256  bytes 1714374 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 20371  bytes 2424168 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20371  bytes 2424168 (2.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8311bb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8311bb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8311bb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10421  bytes 2748413 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12283  bytes 1716404 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 20411  bytes 2426872 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20411  bytes 2426872 (2.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa5315b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5315b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5315b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10474  bytes 2758638 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12353  bytes 1727979 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 20549  bytes 2445616 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20549  bytes 2445616 (2.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7f35db38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f35db38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f35db38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10496  bytes 2760445 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12378  bytes 1729842 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 20585  bytes 2447994 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20585  bytes 2447994 (2.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f94991b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94991b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94991b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10560  bytes 2772085 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12458  bytes 1742846 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 20740  bytes 2468952 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20740  bytes 2468952 (2.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9ad6fac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ad6fac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ad6fac8>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10628  bytes 2782782 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12533  bytes 1754173 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 20822  bytes 2474362 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20822  bytes 2474362 (2.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8ca93b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ca93b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ca93b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10691  bytes 2793550 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12604  bytes 1765805 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 20953  bytes 2492642 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20953  bytes 2492642 (2.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7e917b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e917b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e917b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10711  bytes 2795229 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12630  bytes 1767774 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 20995  bytes 2495474 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20995  bytes 2495474 (2.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8b215b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b215b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b215b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10767  bytes 2805556 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12699  bytes 1779297 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 21126  bytes 2513790 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21126  bytes 2513790 (2.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f91c18b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91c18b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91c18b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10789  bytes 2807989 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12724  bytes 1781292 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 21168  bytes 2517684 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21168  bytes 2517684 (2.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9ceb8b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ceb8b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ceb8b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10854  bytes 2819130 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12804  bytes 1793663 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 21320  bytes 2537438 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21320  bytes 2537438 (2.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80fceb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80fceb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80fceb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10873  bytes 2820690 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12825  bytes 1795255 (1.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 21354  bytes 2539676 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21354  bytes 2539676 (2.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7eda2b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7eda2b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7eda2b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10927  bytes 2830874 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12897  bytes 1807009 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 21492  bytes 2558474 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21492  bytes 2558474 (2.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa1bb4b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1bb4b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1bb4b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10947  bytes 2832517 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12920  bytes 1808756 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 21536  bytes 2561374 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21536  bytes 2561374 (2.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f94a4eb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94a4eb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94a4eb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11007  bytes 2843845 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12998  bytes 1821036 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 21683  bytes 2581834 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21683  bytes 2581834 (2.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f77ae7b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77ae7b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77ae7b38>: Failed to establish a new connection: [Errno 113] No route to host',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11067  bytes 2853891 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13066  bytes 1831710 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 21761  bytes 2586949 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21761  bytes 2586949 (2.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8eb68b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8eb68b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8eb68b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11123  bytes 2864283 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13141  bytes 1843674 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 21900  bytes 2605645 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21900  bytes 2605645 (2.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9855fb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9855fb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9855fb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11144  bytes 2866065 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13163  bytes 1845354 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 21934  bytes 2607883 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21934  bytes 2607883 (2.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa6723b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6723b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6723b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11205  bytes 2876786 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13241  bytes 1857409 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 22081  bytes 2627211 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22081  bytes 2627211 (2.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f790ebb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f790ebb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f790ebb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11227  bytes 2879149 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13268  bytes 1859575 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 22125  bytes 2631245 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22125  bytes 2631245 (2.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fae5b9ac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae5b9ac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae5b9ac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11288  bytes 2890079 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13343  bytes 1871568 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 22269  bytes 2650579 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22269  bytes 2650579 (2.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fafeadac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fafeadac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fafeadac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11311  bytes 2891919 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13368  bytes 1873440 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 22303  bytes 2652817 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22303  bytes 2652817 (2.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9e239b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e239b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e239b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11370  bytes 2902620 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13444  bytes 1885459 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 22443  bytes 2671755 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22443  bytes 2671755 (2.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9fc66b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9fc66b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9fc66b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11392  bytes 2904444 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13468  bytes 1887273 (1.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 22477  bytes 2673993 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22477  bytes 2673993 (2.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fae575b38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae575b38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae575b38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11457  bytes 2916097 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13552  bytes 1900054 (1.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 22625  bytes 2694551 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22625  bytes 2694551 (2.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9effdb38>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9effdb38>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9effdb38>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11525  bytes 2926818 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13626  bytes 1911267 (1.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 22699  bytes 2699391 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22699  bytes 2699391 (2.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa791bac8>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa791bac8>: Failed to establish a new connection: [Errno 113] No route to host',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa791bac8>: Failed to establish a new connection: [Errno 113] No route to host',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11697  bytes 2951294 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13788  bytes 1944241 (1.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 23120  bytes 2749740 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23120  bytes 2749740 (2.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 12141  bytes 2991551 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14636  bytes 3141869 (3.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 23158  bytes 2752388 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23158  bytes 2752388 (2.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 12593  bytes 3033440 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15487  bytes 4306852 (4.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 23281  bytes 2770208 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23281  bytes 2770208 (2.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 12618  bytes 3044776 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15517  bytes 4311517 (4.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 23299  bytes 2772550 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23299  bytes 2772550 (2.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 13054  bytes 3081635 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16340  bytes 5438492 (5.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 23432  bytes 2791150 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23432  bytes 2791150 (2.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 13452  bytes 3112746 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17115  bytes 6563785 (6.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 23448  bytes 2792254 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23448  bytes 2792254 (2.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 13889  bytes 3155085 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17936  bytes 7681413 (7.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 23576  bytes 2810358 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23576  bytes 2810358 (2.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 14310  bytes 3187423 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18768  bytes 8892168 (8.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 23594  bytes 2811590 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23594  bytes 2811590 (2.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 14657  bytes 3224370 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19407  bytes 9736231 (9.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 23729  bytes 2831274 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23729  bytes 2831274 (2.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 14675  bytes 3229025 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19434  bytes 9740878 (9.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 23751  bytes 2832674 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23751  bytes 2832674 (2.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15006  bytes 3269869 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20007  bytes 10431785 (10.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 23895  bytes 2852002 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23895  bytes 2852002 (2.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15261  bytes 3295768 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20491  bytes 11114212 (11.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 23913  bytes 2853234 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23913  bytes 2853234 (2.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15316  bytes 3309192 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20565  bytes 11128522 (11.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 24027  bytes 2870480 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24027  bytes 2870480 (2.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15627  bytes 3337154 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21047  bytes 11803387 (11.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 24051  bytes 2873240 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24051  bytes 2873240 (2.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15970  bytes 3373382 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21678  bytes 12633511 (12.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 24178  bytes 2891508 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24178  bytes 2891508 (2.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 16269  bytes 3399412 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22256  bytes 13460053 (13.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 24196  bytes 2892752 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24196  bytes 2892752 (2.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 16614  bytes 3436987 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22887  bytes 14298747 (14.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 24322  bytes 2910752 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24322  bytes 2910752 (2.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 16939  bytes 3464370 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23517  bytes 15201190 (15.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 24340  bytes 2911996 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24340  bytes 2911996 (2.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 17287  bytes 3502858 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24152  bytes 16036854 (16.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 24459  bytes 2930718 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24459  bytes 2930718 (2.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 17303  bytes 3507274 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24179  bytes 16041295 (16.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 24475  bytes 2931870 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24475  bytes 2931870 (2.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 17658  bytes 3549574 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24796  bytes 16798622 (16.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 24638  bytes 2952229 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24638  bytes 2952229 (2.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 17682  bytes 3558144 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24825  bytes 16803168 (16.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 24652  bytes 2953183 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24652  bytes 2953183 (2.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 18012  bytes 3589080 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25439  bytes 17622977 (17.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 24779  bytes 2971211 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24779  bytes 2971211 (2.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 18279  bytes 3614885 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25947  bytes 18330017 (18.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 24803  bytes 2973971 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24803  bytes 2973971 (2.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 18341  bytes 3628875 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26023  bytes 18344499 (18.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 24916  bytes 2991213 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24916  bytes 2991213 (2.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 18366  bytes 3639589 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26057  bytes 18349379 (18.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 24932  bytes 2992365 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24932  bytes 2992365 (2.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 18660  bytes 3668517 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26606  bytes 19079669 (19.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 25054  bytes 3009979 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25054  bytes 3009979 (3.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 18890  bytes 3690988 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26962  bytes 19564036 (19.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 25076  bytes 3011549 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25076  bytes 3011549 (3.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 19185  bytes 3725158 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27483  bytes 20230500 (20.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 25202  bytes 3030647 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25202  bytes 3030647 (3.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 19203  bytes 3729757 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27511  bytes 20235071 (20.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 25220  bytes 3031927 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25220  bytes 3031927 (3.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 19543  bytes 3771171 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28101  bytes 20954247 (20.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 25384  bytes 3052438 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25384  bytes 3052438 (3.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 19820  bytes 3804068 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28616  bytes 21656485 (21.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 25412  bytes 3054378 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25412  bytes 3054378 (3.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20127  bytes 3834011 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29173  bytes 22389037 (22.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 25532  bytes 3071912 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25532  bytes 3071912 (3.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20149  bytes 3839622 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29208  bytes 22394204 (22.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 25556  bytes 3074720 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25556  bytes 3074720 (3.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20434  bytes 3871930 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29723  bytes 23062508 (23.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 25678  bytes 3092534 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25678  bytes 3092534 (3.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20681  bytes 3896026 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30197  bytes 23724424 (23.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 25704  bytes 3094372 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25704  bytes 3094372 (3.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 21057  bytes 3932826 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30903  bytes 24682466 (24.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 25825  bytes 3111898 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25825  bytes 3111898 (3.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 21668  bytes 3977307 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31827  bytes 26014853 (26.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 25849  bytes 3113608 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25849  bytes 3113608 (3.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 22227  bytes 4024501 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32894  bytes 27510951 (27.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 25982  bytes 3133140 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25982  bytes 3133140 (3.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 22247  bytes 4029436 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32925  bytes 27515802 (27.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 25998  bytes 3134292 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25998  bytes 3134292 (3.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 22808  bytes 4082269 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33954  bytes 28904924 (28.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 26147  bytes 3153746 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26147  bytes 3153746 (3.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23220  bytes 4114162 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34760  bytes 30071426 (30.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 26173  bytes 3155548 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26173  bytes 3155548 (3.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23667  bytes 4154807 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35596  bytes 31226279 (31.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 26289  bytes 3172874 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26289  bytes 3172874 (3.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23695  bytes 4164361 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35634  bytes 31231625 (31.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 26315  bytes 3175822 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26315  bytes 3175822 (3.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24145  bytes 4201761 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36490  bytes 32415182 (32.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 26439  bytes 3193740 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26439  bytes 3193740 (3.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24479  bytes 4229567 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37141  bytes 33350688 (33.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 26461  bytes 3195310 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26461  bytes 3195310 (3.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24845  bytes 4265933 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37700  bytes 34083303 (34.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 26582  bytes 3212908 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26582  bytes 3212908 (3.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25079  bytes 4289417 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38145  bytes 34700718 (34.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 26608  bytes 3214746 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26608  bytes 3214746 (3.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25143  bytes 4308161 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38222  bytes 34715144 (34.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 26729  bytes 3233442 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26729  bytes 3233442 (3.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25399  bytes 4328466 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38721  bytes 35423665 (35.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 26751  bytes 3235012 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26751  bytes 3235012 (3.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25692  bytes 4360970 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39252  bytes 36109562 (36.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 26878  bytes 3252905 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26878  bytes 3252905 (3.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25989  bytes 4401190 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39782  bytes 36788209 (36.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 26928  bytes 3256312 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26928  bytes 3256312 (3.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 26374  bytes 4434949 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40400  bytes 37617372 (37.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 27048  bytes 3273882 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27048  bytes 3273882 (3.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 26636  bytes 4462007 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40897  bytes 38303947 (38.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 27080  bytes 3277248 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27080  bytes 3277248 (3.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 26940  bytes 4495223 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41450  bytes 39025257 (39.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 27207  bytes 3295264 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27207  bytes 3295264 (3.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 27231  bytes 4521583 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41973  bytes 39759684 (39.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 27229  bytes 3296834 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27229  bytes 3296834 (3.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 27283  bytes 4534719 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42046  bytes 39773854 (39.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 27336  bytes 3313562 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27336  bytes 3313562 (3.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 27581  bytes 4560727 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42619  bytes 40593732 (40.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 27360  bytes 3315250 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27360  bytes 3315250 (3.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 27923  bytes 4596493 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43257  bytes 41443868 (41.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 27486  bytes 3334394 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27486  bytes 3334394 (3.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 28218  bytes 4623217 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43831  bytes 42258537 (42.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 27504  bytes 3335626 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27504  bytes 3335626 (3.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 28537  bytes 4657123 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44418  bytes 43030478 (43.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 27628  bytes 3353522 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27628  bytes 3353522 (3.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 28910  bytes 4697755 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45088  bytes 43908201 (43.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 27698  bytes 3358253 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27698  bytes 3358253 (3.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 29345  bytes 4739953 (4.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45892  bytes 45005749 (45.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 27812  bytes 3375451 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27812  bytes 3375451 (3.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 29369  bytes 4745636 (4.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45925  bytes 45010765 (45.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 27838  bytes 3378399 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27838  bytes 3378399 (3.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 29811  bytes 4786247 (4.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46752  bytes 46140266 (46.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 27964  bytes 3396351 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27964  bytes 3396351 (3.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 29834  bytes 4795557 (4.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46779  bytes 46144711 (46.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 27978  bytes 3397305 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27978  bytes 3397305 (3.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 30277  bytes 4832457 (4.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47634  bytes 47322337 (47.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 28102  bytes 3415177 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28102  bytes 3415177 (3.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 30542  bytes 4856694 (4.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48143  bytes 48041726 (48.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 28120  bytes 3416421 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28120  bytes 3416421 (3.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 30601  bytes 4871035 (4.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48224  bytes 48056658 (48.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 28242  bytes 3435323 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28242  bytes 3435323 (3.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 30996  bytes 4906967 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48754  bytes 48798236 (48.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 28260  bytes 3436577 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28260  bytes 3436577 (3.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31012  bytes 4911438 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48781  bytes 48802716 (48.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 28278  bytes 3437857 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28278  bytes 3437857 (3.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31106  bytes 4929983 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48883  bytes 48821494 (48.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 28387  bytes 3450051 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28387  bytes 3450051 (3.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31183  bytes 4947610 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48977  bytes 48840328 (48.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 28552  bytes 3475058 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28552  bytes 3475058 (3.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31441  bytes 4972302 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49468  bytes 49527982 (49.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 28578  bytes 3477958 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28578  bytes 3477958 (3.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31503  bytes 4986314 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49550  bytes 49542882 (49.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 28709  bytes 3496312 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28709  bytes 3496312 (3.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31749  bytes 5009577 (5.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50031  bytes 50224898 (50.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 28727  bytes 3497544 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28727  bytes 3497544 (3.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 32406  bytes 5065536 (5.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51038  bytes 51612929 (51.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 28856  bytes 3515818 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28856  bytes 3515818 (3.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 32421  bytes 5069991 (5.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51059  bytes 51616998 (51.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 28868  bytes 3516644 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28868  bytes 3516644 (3.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 32798  bytes 5109947 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51599  bytes 52304228 (52.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 29000  bytes 3536208 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29000  bytes 3536208 (3.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 32815  bytes 5114415 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51622  bytes 52308374 (52.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 29010  bytes 3536894 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29010  bytes 3536894 (3.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 32837  bytes 5119260 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51652  bytes 52313047 (52.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 29028  bytes 3538174 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29028  bytes 3538174 (3.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33195  bytes 5159442 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52206  bytes 53001649 (53.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 29130  bytes 3549957 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29130  bytes 3549957 (3.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33213  bytes 5163962 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52233  bytes 53006091 (53.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 29148  bytes 3551213 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29148  bytes 3551213 (3.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33277  bytes 5178518 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52313  bytes 53020909 (53.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 29274  bytes 3570193 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29274  bytes 3570193 (3.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33344  bytes 5197115 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52400  bytes 53036042 (53.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 29401  bytes 3588293 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29401  bytes 3588293 (3.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33606  bytes 5217515 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52878  bytes 53719965 (53.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 29417  bytes 3589397 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29417  bytes 3589397 (3.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33913  bytes 5253314 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53432  bytes 54425212 (54.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 29542  bytes 3607397 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29542  bytes 3607397 (3.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33929  bytes 5257754 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53454  bytes 54429316 (54.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 29552  bytes 3608083 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29552  bytes 3608083 (3.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33951  bytes 5263117 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53483  bytes 54433957 (54.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 29578  bytes 3611019 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29578  bytes 3611019 (3.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33972  bytes 5268309 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53514  bytes 54438785 (54.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 29590  bytes 3611845 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29590  bytes 3611845 (3.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33991  bytes 5272999 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53538  bytes 54443055 (54.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 29606  bytes 3612997 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29606  bytes 3612997 (3.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 34464  bytes 5314826 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54106  bytes 55197812 (55.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 29687  bytes 3623413 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29687  bytes 3623413 (3.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 34531  bytes 5328648 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54185  bytes 55211849 (55.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 29735  bytes 3626734 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29735  bytes 3626734 (3.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 34633  bytes 5352108 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54314  bytes 55236591 (55.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 29960  bytes 3661836 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29960  bytes 3661836 (3.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 34719  bytes 5370727 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54428  bytes 55257159 (55.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 30132  bytes 3687527 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30132  bytes 3687527 (3.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35038  bytes 5397871 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54926  bytes 55958948 (55.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 30150  bytes 3688759 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30150  bytes 3688759 (3.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35058  bytes 5402534 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54954  bytes 55963463 (55.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 30168  bytes 3690039 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30168  bytes 3690039 (3.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35116  bytes 5416134 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55029  bytes 55977801 (55.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 30281  bytes 3707079 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30281  bytes 3707079 (3.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35415  bytes 5449916 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55537  bytes 56621490 (56.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 30405  bytes 3726037 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30405  bytes 3726037 (3.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35433  bytes 5454576 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55566  bytes 56626144 (56.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 30427  bytes 3727607 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30427  bytes 3727607 (3.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35471  bytes 5464045 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55615  bytes 56635479 (56.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 30491  bytes 3736954 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30491  bytes 3736954 (3.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35517  bytes 5473573 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55674  bytes 56646917 (56.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 30554  bytes 3745777 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30554  bytes 3745777 (3.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35854  bytes 5511713 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56192  bytes 57274205 (57.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 30665  bytes 3758182 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30665  bytes 3758182 (3.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35903  bytes 5522014 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56251  bytes 57284938 (57.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 30735  bytes 3768455 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30735  bytes 3768455 (3.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35965  bytes 5536016 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56330  bytes 57299574 (57.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 30864  bytes 3786741 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30864  bytes 3786741 (3.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36249  bytes 5562042 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56787  bytes 57932558 (57.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 30884  bytes 3788113 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30884  bytes 3788113 (3.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36302  bytes 5575424 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56858  bytes 57946518 (57.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 31001  bytes 3805361 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31001  bytes 3805361 (3.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36602  bytes 5601557 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57316  bytes 58586035 (58.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 31023  bytes 3806931 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31023  bytes 3806931 (3.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36668  bytes 5616409 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57397  bytes 58601098 (58.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 31148  bytes 3825859 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31148  bytes 3825859 (3.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36926  bytes 5640380 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57851  bytes 59232530 (59.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 31176  bytes 3827847 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31176  bytes 3827847 (3.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36988  bytes 5654188 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57926  bytes 59246852 (59.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 31294  bytes 3845147 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31294  bytes 3845147 (3.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 37352  bytes 5683556 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58639  bytes 60274473 (60.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 31316  bytes 3846717 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31316  bytes 3846717 (3.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 37413  bytes 5696741 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58710  bytes 60287790 (60.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 31372  bytes 3850421 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31372  bytes 3850421 (3.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 37481  bytes 5715880 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58795  bytes 60302858 (60.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 31491  bytes 3869013 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31491  bytes 3869013 (3.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 38000  bytes 5756988 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59603  bytes 61407345 (61.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 31625  bytes 3887475 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31625  bytes 3887475 (3.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 38019  bytes 5761634 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59632  bytes 61411948 (61.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 31645  bytes 3888895 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31645  bytes 3888895 (3.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 38287  bytes 5792858 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60117  bytes 62038765 (62.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 31759  bytes 3906093 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31759  bytes 3906093 (3.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 38578  bytes 5820622 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60595  bytes 62708095 (62.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 31781  bytes 3907663 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31781  bytes 3907663 (3.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 38825  bytes 5853641 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61028  bytes 63246219 (63.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 31900  bytes 3926385 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31900  bytes 3926385 (3.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 38851  bytes 5863302 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61064  bytes 63251388 (63.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 31916  bytes 3927537 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31916  bytes 3927537 (3.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 39155  bytes 5892953 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61511  bytes 63819868 (63.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 32033  bytes 3944927 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32033  bytes 3944927 (3.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 39468  bytes 5925103 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62108  bytes 64655275 (64.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 32063  bytes 3947043 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32063  bytes 3947043 (3.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 39577  bytes 5951675 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62236  bytes 64679006 (64.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 32212  bytes 3966452 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32212  bytes 3966452 (3.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 39965  bytes 5979533 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62884  bytes 65602914 (65.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 32248  bytes 3970088 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32248  bytes 3970088 (3.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 40479  bytes 6023652 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63773  bytes 66837576 (66.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 32368  bytes 3987740 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32368  bytes 3987740 (3.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 40849  bytes 6053337 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64395  bytes 67723591 (67.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 32392  bytes 3989438 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32392  bytes 3989438 (3.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 40909  bytes 6071438 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64470  bytes 67737915 (67.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 32499  bytes 4006190 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32499  bytes 4006190 (4.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 41221  bytes 6094469 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64994  bytes 68484819 (68.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 32523  bytes 4007888 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32523  bytes 4007888 (4.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 41517  bytes 6127996 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65528  bytes 69174524 (69.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 32652  bytes 4027166 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32652  bytes 4027166 (4.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 41811  bytes 6154682 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66028  bytes 69871501 (69.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 32676  bytes 4028876 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32676  bytes 4028876 (4.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 41871  bytes 6168361 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66100  bytes 69885635 (69.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 32792  bytes 4046096 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32792  bytes 4046096 (4.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 42173  bytes 6194505 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66589  bytes 70580166 (70.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 32814  bytes 4047666 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32814  bytes 4047666 (4.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 42549  bytes 6231432 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67149  bytes 71306611 (71.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 32943  bytes 4065722 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32943  bytes 4065722 (4.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 42615  bytes 6245526 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67228  bytes 71320450 (71.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 32999  bytes 4070699 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32999  bytes 4070699 (4.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 42942  bytes 6280301 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67794  bytes 72057632 (72.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 33131  bytes 4089011 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33131  bytes 4089011 (4.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 43222  bytes 6307647 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68309  bytes 72780050 (72.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 33153  bytes 4090581 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33153  bytes 4090581 (4.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 43540  bytes 6342247 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68863  bytes 73512019 (73.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 33264  bytes 4107623 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33264  bytes 4107623 (4.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 43950  bytes 6374804 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69373  bytes 74228900 (74.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 33290  bytes 4109487 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33290  bytes 4109487 (4.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 44009  bytes 6389245 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69455  bytes 74243831 (74.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 33406  bytes 4127923 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33406  bytes 4127923 (4.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 44334  bytes 6416604 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69955  bytes 74954027 (74.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 33426  bytes 4129327 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33426  bytes 4129327 (4.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 44398  bytes 6434087 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70039  bytes 74969027 (74.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 33545  bytes 4146869 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33545  bytes 4146869 (4.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 44692  bytes 6456206 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70533  bytes 75678551 (75.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 33563  bytes 4148101 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33563  bytes 4148101 (4.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 45016  bytes 6492412 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71086  bytes 76397168 (76.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 33682  bytes 4165677 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33682  bytes 4165677 (4.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 45083  bytes 6510231 (6.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71163  bytes 76410953 (76.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 33744  bytes 4170896 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33744  bytes 4170896 (4.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 45424  bytes 6542036 (6.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71714  bytes 77126608 (77.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 33865  bytes 4188658 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33865  bytes 4188658 (4.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 45722  bytes 6568044 (6.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72215  bytes 77836223 (77.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 33891  bytes 4190496 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33891  bytes 4190496 (4.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 46049  bytes 6602623 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72764  bytes 78550867 (78.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 34015  bytes 4208214 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34015  bytes 4208214 (4.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 46313  bytes 6626791 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 73255  bytes 79248693 (79.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 34031  bytes 4209318 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34031  bytes 4209318 (4.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 46620  bytes 6661723 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 73819  bytes 79966924 (79.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 34170  bytes 4229246 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34170  bytes 4229246 (4.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 46643  bytes 6670963 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 73849  bytes 79972085 (79.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 34186  bytes 4230350 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34186  bytes 4230350 (4.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 46986  bytes 6702378 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 74425  bytes 80741006 (80.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 34298  bytes 4247516 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34298  bytes 4247516 (4.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 47310  bytes 6738969 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 74988  bytes 81520248 (81.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 34320  bytes 4249038 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34320  bytes 4249038 (4.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 47658  bytes 6767826 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75561  bytes 82302337 (82.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 34393  bytes 4259067 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34393  bytes 4259067 (4.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 47741  bytes 6785707 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75656  bytes 82320611 (82.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 34497  bytes 4271543 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34497  bytes 4271543 (4.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 48124  bytes 6823352 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 76224  bytes 83047799 (83.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 34633  bytes 4290239 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34633  bytes 4290239 (4.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 48410  bytes 6849408 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 76736  bytes 83775695 (83.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 34649  bytes 4291343 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34649  bytes 4291343 (4.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 48719  bytes 6883592 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77309  bytes 84520067 (84.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 34779  bytes 4309587 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34779  bytes 4309587 (4.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 48740  bytes 6894172 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77335  bytes 84524452 (84.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 34789  bytes 4310273 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34789  bytes 4310273 (4.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 49093  bytes 6927167 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77905  bytes 85260007 (85.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 34926  bytes 4330061 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34926  bytes 4330061 (4.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 49367  bytes 6952444 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78385  bytes 85938061 (85.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 34942  bytes 4331165 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34942  bytes 4331165 (4.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 49423  bytes 6965860 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78458  bytes 85952284 (85.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 35059  bytes 4348567 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35059  bytes 4348567 (4.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 49690  bytes 6991002 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78942  bytes 86634776 (86.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 35079  bytes 4349939 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35079  bytes 4349939 (4.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 49992  bytes 7024078 (7.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 79474  bytes 87326782 (87.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 35205  bytes 4367915 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35205  bytes 4367915 (4.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 50341  bytes 7061992 (7.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80068  bytes 88103618 (88.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 35264  bytes 4373001 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35264  bytes 4373001 (4.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 50411  bytes 7082305 (7.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80156  bytes 88118962 (88.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 35395  bytes 4391323 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35395  bytes 4391323 (4.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 50794  bytes 7109064 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80742  bytes 88966944 (88.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 35413  bytes 4392567 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35413  bytes 4392567 (4.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 51175  bytes 7146937 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 81404  bytes 89851506 (89.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 35535  bytes 4410359 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35535  bytes 4410359 (4.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 51521  bytes 7177550 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82026  bytes 90745205 (90.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 35551  bytes 4411463 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35551  bytes 4411463 (4.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 51588  bytes 7192574 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82109  bytes 90760186 (90.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 35686  bytes 4431139 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35686  bytes 4431139 (4.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 51968  bytes 7223558 (7.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82761  bytes 91698475 (91.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 35704  bytes 4432393 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35704  bytes 4432393 (4.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 52034  bytes 7241275 (7.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82843  bytes 91713290 (91.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 35824  bytes 4450011 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35824  bytes 4450011 (4.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 52398  bytes 7266979 (7.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 83450  bytes 92590794 (92.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 35840  bytes 4451115 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35840  bytes 4451115 (4.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 52735  bytes 7301874 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84070  bytes 93415752 (93.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 35959  bytes 4468561 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35959  bytes 4468561 (4.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 52761  bytes 7307931 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84110  bytes 93421388 (93.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 35993  bytes 4471943 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35993  bytes 4471943 (4.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 52866  bytes 7334036 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84235  bytes 93444837 (93.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 36143  bytes 4491582 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36143  bytes 4491582 (4.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 53358  bytes 7369373 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84827  bytes 94297283 (94.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 36161  bytes 4492826 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36161  bytes 4492826 (4.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 53379  bytes 7374088 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84856  bytes 94301873 (94.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 36179  bytes 4494106 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36179  bytes 4494106 (4.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 53435  bytes 7387508 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84931  bytes 94316160 (94.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 36291  bytes 4511094 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36291  bytes 4511094 (4.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 53498  bytes 7402173 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85010  bytes 94330882 (94.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 36418  bytes 4530256 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36418  bytes 4530256 (4.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 53808  bytes 7428763 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85559  bytes 95111136 (95.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 36436  bytes 4531488 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36436  bytes 4531488 (4.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 53868  bytes 7442766 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85635  bytes 95125764 (95.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 36552  bytes 4548720 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36552  bytes 4548720 (4.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 54304  bytes 7480606 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 86199  bytes 95904089 (95.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 36580  bytes 4550708 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36580  bytes 4550708 (4.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 54652  bytes 7516686 (7.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 86792  bytes 96690418 (96.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 36697  bytes 4568026 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36697  bytes 4568026 (4.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 54961  bytes 7540323 (7.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87335  bytes 97453686 (97.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 36727  bytes 4571252 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36727  bytes 4571252 (4.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 55385  bytes 7588556 (7.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88082  bytes 98396973 (98.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 36894  bytes 4592032 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36894  bytes 4592032 (4.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 55748  bytes 7618623 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88750  bytes 99355519 (99.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 36912  bytes 4593264 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36912  bytes 4593264 (4.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 55809  bytes 7632851 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88831  bytes 99371221 (99.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 37032  bytes 4610874 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37032  bytes 4610874 (4.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 56154  bytes 7661232 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 89502  bytes 100337773 (100.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 37048  bytes 4611978 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37048  bytes 4611978 (4.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 56215  bytes 7675777 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 89580  bytes 100352412 (100.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 37171  bytes 4630778 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37171  bytes 4630778 (4.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 56586  bytes 7705550 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90254  bytes 101319152 (101.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 37195  bytes 4632488 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37195  bytes 4632488 (4.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 56644  bytes 7719223 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90327  bytes 101333384 (101.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 37306  bytes 4649448 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37306  bytes 4649448 (4.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 56975  bytes 7749506 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90845  bytes 102051728 (102.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 37330  bytes 4651146 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37330  bytes 4651146 (4.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 57112  bytes 7760246 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91037  bytes 102311498 (102.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 37340  bytes 4651832 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37340  bytes 4651832 (4.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 57135  bytes 7765886 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91070  bytes 102316531 (102.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 37366  bytes 4654780 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37366  bytes 4654780 (4.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 57207  bytes 7779873 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91145  bytes 102330200 (102.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 37422  bytes 4658554 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37422  bytes 4658554 (4.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 57224  bytes 7784467 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91174  bytes 102334842 (102.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 37440  bytes 4659810 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37440  bytes 4659810 (4.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 57263  bytes 7793850 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91222  bytes 102344075 (102.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 37503  bytes 4669047 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37503  bytes 4669047 (4.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 57670  bytes 7829290 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91817  bytes 103158988 (103.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 37573  bytes 4678884 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37573  bytes 4678884 (4.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 57729  bytes 7843545 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91889  bytes 103173197 (103.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 37693  bytes 4697564 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37693  bytes 4697564 (4.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 57832  bytes 7865896 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92019  bytes 103197920 (103.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 37906  bytes 4730474 (4.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37906  bytes 4730474 (4.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 57888  bytes 7879441 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92091  bytes 103212043 (103.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 38019  bytes 4747596 (4.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38019  bytes 4747596 (4.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 58360  bytes 7914431 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92873  bytes 104342438 (104.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 38043  bytes 4749294 (4.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38043  bytes 4749294 (4.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 58415  bytes 7927826 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92946  bytes 104356609 (104.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 38154  bytes 4766254 (4.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38154  bytes 4766254 (4.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 58435  bytes 7933077 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92976  bytes 104361386 (104.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 38180  bytes 4769190 (4.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38180  bytes 4769190 (4.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 58792  bytes 7972261 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 93515  bytes 105034869 (105.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 38265  bytes 4779512 (4.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38265  bytes 4779512 (4.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 58825  bytes 7980384 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 93563  bytes 105043494 (105.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 38327  bytes 4787725 (4.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38327  bytes 4787725 (4.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 58891  bytes 7995114 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 93645  bytes 105058806 (105.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 38461  bytes 4806517 (4.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38461  bytes 4806517 (4.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 59217  bytes 8022538 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94123  bytes 105729417 (105.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 38485  bytes 4808215 (4.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38485  bytes 4808215 (4.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 59236  bytes 8027730 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94146  bytes 105733649 (105.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 38503  bytes 4810557 (4.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38503  bytes 4810557 (4.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 59297  bytes 8045104 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94230  bytes 105748634 (105.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 38618  bytes 4827855 (4.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38618  bytes 4827855 (4.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 59619  bytes 8075487 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94749  bytes 106430340 (106.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 38736  bytes 4845249 (4.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38736  bytes 4845249 (4.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 59653  bytes 8088057 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94793  bytes 106436560 (106.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 38760  bytes 4846959 (4.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38760  bytes 4846959 (4.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 60000  bytes 8120238 (8.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 95366  bytes 107186591 (107.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 38889  bytes 4864997 (4.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38889  bytes 4864997 (4.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 60029  bytes 8130596 (8.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 95399  bytes 107191573 (107.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 38909  bytes 4867479 (4.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38909  bytes 4867479 (4.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 60505  bytes 8169140 (8.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 96182  bytes 108256424 (108.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 39053  bytes 4886610 (4.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39053  bytes 4886610 (4.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 61012  bytes 8212140 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 97042  bytes 109451357 (109.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 39103  bytes 4890016 (4.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39103  bytes 4890016 (4.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 61394  bytes 8249531 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 97665  bytes 110278443 (110.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 39230  bytes 4907926 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39230  bytes 4907926 (4.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 61418  bytes 8258817 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 97698  bytes 110283302 (110.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 39248  bytes 4909206 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39248  bytes 4909206 (4.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 61762  bytes 8291274 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 98284  bytes 111054820 (111.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 39379  bytes 4928528 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39379  bytes 4928528 (4.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 62254  bytes 8328040 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 99144  bytes 112307565 (112.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 39401  bytes 4930098 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39401  bytes 4930098 (4.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 62310  bytes 8341578 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 99220  bytes 112321997 (112.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 39516  bytes 4947288 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39516  bytes 4947288 (4.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 62869  bytes 8382192 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 100203  bytes 113755830 (113.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 39532  bytes 4948392 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39532  bytes 4948392 (4.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 62932  bytes 8399790 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 100289  bytes 113770926 (113.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 39654  bytes 4966114 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39654  bytes 4966114 (4.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 63433  bytes 8433419 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 101193  bytes 115089394 (115.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 39678  bytes 4968874 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39678  bytes 4968874 (4.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 63498  bytes 8451844 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 101276  bytes 115104248 (115.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 39808  bytes 4987130 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39808  bytes 4987130 (4.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 63929  bytes 8487600 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102000  bytes 116088621 (116.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 39870  bytes 4991276 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39870  bytes 4991276 (4.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 64282  bytes 8523445 (8.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102591  bytes 116867167 (116.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 39997  bytes 5009210 (5.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39997  bytes 5009210 (5.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 64742  bytes 8558568 (8.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 103404  bytes 118050275 (118.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 40015  bytes 5010454 (5.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40015  bytes 5010454 (5.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 64800  bytes 8572825 (8.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 103488  bytes 118065384 (118.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 40143  bytes 5029668 (5.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40143  bytes 5029668 (5.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 65169  bytes 8604810 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104134  bytes 118987476 (118.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 40161  bytes 5030900 (5.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40161  bytes 5030900 (5.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 65226  bytes 8618272 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104212  bytes 119002003 (119.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 40284  bytes 5048676 (5.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40284  bytes 5048676 (5.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 65246  bytes 8626583 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104237  bytes 119006274 (119.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 40294  bytes 5049362 (5.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40294  bytes 5049362 (5.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 65657  bytes 8661706 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104936  bytes 119948825 (119.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 40423  bytes 5067530 (5.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40423  bytes 5067530 (5.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 65676  bytes 8666906 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104960  bytes 119953123 (119.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 40441  bytes 5069872 (5.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40441  bytes 5069872 (5.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 66096  bytes 8707160 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 105676  bytes 120905253 (120.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 40579  bytes 5088696 (5.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40579  bytes 5088696 (5.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 66550  bytes 8748382 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106447  bytes 121960080 (121.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 40635  bytes 5092413 (5.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40635  bytes 5092413 (5.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 67068  bytes 8792659 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107353  bytes 123214461 (123.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 40764  bytes 5110545 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40764  bytes 5110545 (5.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 67086  bytes 8797250 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107377  bytes 123218714 (123.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 40776  bytes 5111359 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40776  bytes 5111359 (5.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 67159  bytes 8816681 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107467  bytes 123234231 (123.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 40907  bytes 5130693 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40907  bytes 5130693 (5.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 67412  bytes 8836613 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107913  bytes 123869951 (123.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 40923  bytes 5131797 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40923  bytes 5131797 (5.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 67694  bytes 8869482 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108384  bytes 124461451 (124.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 41053  bytes 5150017 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41053  bytes 5150017 (5.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 67716  bytes 8877473 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108413  bytes 124466448 (124.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 41069  bytes 5151121 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41069  bytes 5151121 (5.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 68039  bytes 8911943 (8.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108933  bytes 125129357 (125.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 41194  bytes 5169105 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41194  bytes 5169105 (5.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 68063  bytes 8921079 (8.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108963  bytes 125134026 (125.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 41214  bytes 5171587 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41214  bytes 5171587 (5.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 68351  bytes 8950287 (8.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 109486  bytes 125806858 (125.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 41351  bytes 5190313 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41351  bytes 5190313 (5.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 68681  bytes 8986753 (8.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110018  bytes 126491009 (126.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 41396  bytes 5193309 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41396  bytes 5193309 (5.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 68739  bytes 9000340 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110095  bytes 126505431 (126.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 41531  bytes 5211721 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41531  bytes 5211721 (5.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 69303  bytes 9043880 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111095  bytes 127957198 (127.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 41553  bytes 5213243 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41553  bytes 5213243 (5.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 69362  bytes 9058209 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111178  bytes 127972198 (127.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 41679  bytes 5232317 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41679  bytes 5232317 (5.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 69665  bytes 9086616 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111710  bytes 128726001 (128.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 41697  bytes 5233561 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41697  bytes 5233561 (5.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 69723  bytes 9100258 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111789  bytes 128740646 (128.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 41819  bytes 5251269 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41819  bytes 5251269 (5.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 70355  bytes 9149471 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112816  bytes 130226890 (130.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 41843  bytes 5252919 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41843  bytes 5252919 (5.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 70417  bytes 9163347 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112892  bytes 130241382 (130.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 41961  bytes 5270373 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41961  bytes 5270373 (5.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 70439  bytes 9169144 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112924  bytes 130246338 (130.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 41979  bytes 5272715 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41979  bytes 5272715 (5.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 70773  bytes 9203944 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113479  bytes 130972848 (130.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 42106  bytes 5290767 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42106  bytes 5290767 (5.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 71067  bytes 9231949 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113995  bytes 131691761 (131.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 42140  bytes 5293051 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42140  bytes 5293051 (5.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 71169  bytes 9254094 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114113  bytes 131714814 (131.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 42287  bytes 5312394 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42287  bytes 5312394 (5.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 71465  bytes 9279973 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114617  bytes 132427715 (132.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 42305  bytes 5313626 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42305  bytes 5313626 (5.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 71534  bytes 9294977 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114702  bytes 132442945 (132.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 42438  bytes 5333136 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42438  bytes 5333136 (5.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 71834  bytes 9321122 (9.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115204  bytes 133151302 (133.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 42456  bytes 5334380 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42456  bytes 5334380 (5.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 72220  bytes 9360874 (9.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115760  bytes 133867851 (133.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 42587  bytes 5352678 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42587  bytes 5352678 (5.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 72236  bytes 9365314 (9.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115784  bytes 133872105 (133.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 42597  bytes 5353364 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42597  bytes 5353364 (5.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 72643  bytes 9403925 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116340  bytes 134596458 (134.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 42715  bytes 5370794 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42715  bytes 5370794 (5.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 72663  bytes 9409353 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116373  bytes 134601485 (134.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 42739  bytes 5373602 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42739  bytes 5373602 (5.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 72977  bytes 9443145 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116934  bytes 135335392 (135.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 42872  bytes 5392024 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42872  bytes 5392024 (5.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 72994  bytes 9447711 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116962  bytes 135339956 (135.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 42892  bytes 5393444 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42892  bytes 5393444 (5.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 73399  bytes 9492570 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117590  bytes 136115776 (136.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 43063  bytes 5414253 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43063  bytes 5414253 (5.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 73424  bytes 9503380 (9.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117622  bytes 136120556 (136.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 43077  bytes 5415207 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43077  bytes 5415207 (5.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 73771  bytes 9535943 (9.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118207  bytes 136888938 (136.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 43201  bytes 5434129 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43201  bytes 5434129 (5.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 74053  bytes 9561066 (9.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118755  bytes 137663342 (137.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 43225  bytes 5435839 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43225  bytes 5435839 (5.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 74119  bytes 9580832 (9.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118831  bytes 137677707 (137.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 43334  bytes 5452671 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43334  bytes 5452671 (5.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 74605  bytes 9619088 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 119396  bytes 138468216 (138.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 43362  bytes 5454659 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43362  bytes 5454659 (5.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 74642  bytes 9628450 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 119444  bytes 138477432 (138.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 43430  bytes 5464192 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43430  bytes 5464192 (5.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 74685  bytes 9641854 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 119503  bytes 138487373 (138.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 43508  bytes 5475059 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43508  bytes 5475059 (5.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 75073  bytes 9676243 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120099  bytes 139269286 (139.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 43635  bytes 5493133 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43635  bytes 5493133 (5.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 75361  bytes 9702487 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120645  bytes 140042200 (140.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 43657  bytes 5494703 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43657  bytes 5494703 (5.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 75749  bytes 9746257 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121280  bytes 140835496 (140.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 43812  bytes 5514468 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43812  bytes 5514468 (5.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 76070  bytes 9774127 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121828  bytes 141611115 (141.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 43836  bytes 5516142 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43836  bytes 5516142 (5.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 76129  bytes 9787695 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121901  bytes 141625285 (141.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 43928  bytes 5531370 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43928  bytes 5531370 (5.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 76158  bytes 9794098 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121944  bytes 141632364 (141.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 43982  bytes 5536518 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43982  bytes 5536518 (5.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 76178  bytes 9799029 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121967  bytes 141636555 (141.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 43996  bytes 5537482 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43996  bytes 5537482 (5.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 76196  bytes 9803591 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121995  bytes 141641091 (141.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 44014  bytes 5538784 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44014  bytes 5538784 (5.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 76238  bytes 9813865 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122048  bytes 141650591 (141.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 44077  bytes 5547997 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44077  bytes 5547997 (5.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 76667  bytes 9845734 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122619  bytes 142456895 (142.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 44111  bytes 5551529 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44111  bytes 5551529 (5.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 76732  bytes 9860055 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122700  bytes 142471806 (142.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 44227  bytes 5568919 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44227  bytes 5568919 (5.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 76749  bytes 9864523 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122725  bytes 142476102 (142.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 44243  bytes 5570071 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44243  bytes 5570071 (5.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 76851  bytes 9886678 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122846  bytes 142499271 (142.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 44384  bytes 5588844 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44384  bytes 5588844 (5.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 76868  bytes 9891146 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122873  bytes 142503715 (142.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 44409  bytes 5590515 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44409  bytes 5590515 (5.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 77391  bytes 9935028 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123475  bytes 143292928 (143.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 44539  bytes 5609785 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44539  bytes 5609785 (5.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 77409  bytes 9939674 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123502  bytes 143297421 (143.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 44555  bytes 5610937 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44555  bytes 5610937 (5.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 77464  bytes 9953029 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123574  bytes 143311514 (143.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 44671  bytes 5628157 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44671  bytes 5628157 (5.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 77482  bytes 9957600 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123603  bytes 143316105 (143.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 44689  bytes 5629449 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44689  bytes 5629449 (5.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 77502  bytes 9962326 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123629  bytes 143320485 (143.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 44699  bytes 5630135 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44699  bytes 5630135 (5.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 77966  bytes 10009818 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124287  bytes 144128358 (144.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 44934  bytes 5666041 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44934  bytes 5666041 (5.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 78027  bytes 10023789 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124369  bytes 144143291 (144.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 45058  bytes 5683783 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45058  bytes 5683783 (5.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 78060  bytes 10032289 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124414  bytes 144152167 (144.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 45119  bytes 5692348 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45119  bytes 5692348 (5.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 78417  bytes 10068318 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 125013  bytes 144932672 (144.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 45256  bytes 5710975 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45256  bytes 5710975 (5.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 78473  bytes 10081229 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 125084  bytes 144945941 (144.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 45304  bytes 5714270 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45304  bytes 5714270 (5.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 78811  bytes 10116934 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 125682  bytes 145726475 (145.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 45433  bytes 5733488 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45433  bytes 5733488 (5.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 79102  bytes 10143250 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126224  bytes 146496627 (146.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 45455  bytes 5735058 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45455  bytes 5735058 (5.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 79162  bytes 10156997 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126301  bytes 146511070 (146.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 45569  bytes 5752186 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45569  bytes 5752186 (5.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 79473  bytes 10187624 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126851  bytes 147281832 (147.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 45599  bytes 5754302 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45599  bytes 5754302 (5.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 79531  bytes 10201430 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126930  bytes 147296402 (147.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 45716  bytes 5771586 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45716  bytes 5771586 (5.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 79869  bytes 10230777 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127471  bytes 148065342 (148.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 45740  bytes 5774346 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45740  bytes 5774346 (5.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 79925  bytes 10244352 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127550  bytes 148079998 (148.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 45869  bytes 5792598 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45869  bytes 5792598 (5.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 80224  bytes 10270308 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128088  bytes 148847627 (148.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 45885  bytes 5793702 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45885  bytes 5793702 (5.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 80283  bytes 10287563 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128170  bytes 148862343 (148.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 46010  bytes 5811544 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46010  bytes 5811544 (5.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 80678  bytes 10321365 (10.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128763  bytes 149642359 (149.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 46074  bytes 5815794 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46074  bytes 5815794 (5.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 80754  bytes 10340428 (10.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128849  bytes 149657577 (149.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 46195  bytes 5834490 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46195  bytes 5834490 (5.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 81059  bytes 10363088 (10.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129380  bytes 150425175 (150.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 46211  bytes 5835594 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46211  bytes 5835594 (5.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 81403  bytes 10398287 (10.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129974  bytes 151207399 (151.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 46342  bytes 5853854 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46342  bytes 5853854 (5.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 81428  bytes 10407629 (10.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130004  bytes 151211994 (151.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 46358  bytes 5854958 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46358  bytes 5854958 (5.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 81776  bytes 10439451 (10.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130593  bytes 151991490 (151.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 46491  bytes 5873344 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46491  bytes 5873344 (5.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 81796  bytes 10444746 (10.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130619  bytes 151995943 (151.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 46511  bytes 5875826 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46511  bytes 5875826 (5.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 82155  bytes 10481194 (10.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131226  bytes 152776402 (152.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 46648  bytes 5894574 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46648  bytes 5894574 (5.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 82469  bytes 10508706 (10.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131761  bytes 153540219 (153.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 46664  bytes 5895678 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46664  bytes 5895678 (5.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 82788  bytes 10543635 (10.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132356  bytes 154317249 (154.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 46789  bytes 5913626 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46789  bytes 5913626 (5.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83163  bytes 10579918 (10.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132945  bytes 155096669 (155.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 46844  bytes 5917253 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46844  bytes 5917253 (5.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83355  bytes 10608198 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133299  bytes 155502753 (155.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 46986  bytes 5937337 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46986  bytes 5937337 (5.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83369  bytes 10612558 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133322  bytes 155511286 (155.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 46996  bytes 5938023 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46996  bytes 5938023 (5.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83389  bytes 10617158 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133350  bytes 155515773 (155.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 47012  bytes 5939175 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47012  bytes 5939175 (5.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83407  bytes 10621678 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133374  bytes 155521416 (155.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 47022  bytes 5939861 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47022  bytes 5939861 (5.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83425  bytes 10626323 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133402  bytes 155525968 (155.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 47040  bytes 5941141 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47040  bytes 5941141 (5.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83448  bytes 10631935 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133435  bytes 155532402 (155.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 47060  bytes 5943623 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47060  bytes 5943623 (5.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83472  bytes 10637017 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133465  bytes 155537110 (155.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 47082  bytes 5945229 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47082  bytes 5945229 (5.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83490  bytes 10641537 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133490  bytes 155542826 (155.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 47092  bytes 5945915 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47092  bytes 5945915 (5.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83507  bytes 10646005 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133515  bytes 155547123 (155.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 47108  bytes 5947067 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47108  bytes 5947067 (5.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83560  bytes 10658756 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133584  bytes 155561957 (155.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 47147  bytes 5949668 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47147  bytes 5949668 (5.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83621  bytes 10673252 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133671  bytes 155577416 (155.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 47290  bytes 5969749 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47290  bytes 5969749 (5.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83637  bytes 10677692 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133693  bytes 155582963 (155.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 47300  bytes 5970435 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47300  bytes 5970435 (5.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83698  bytes 10691588 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133771  bytes 155597518 (155.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 47413  bytes 5987629 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47413  bytes 5987629 (5.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 84022  bytes 10718365 (10.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134329  bytes 156391968 (156.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 47435  bytes 5989151 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47435  bytes 5989151 (5.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 84401  bytes 10756111 (10.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135009  bytes 157298290 (157.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 47565  bytes 6007359 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47565  bytes 6007359 (6.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 84423  bytes 10761687 (10.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135040  bytes 157303177 (157.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 47587  bytes 6009969 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47587  bytes 6009969 (6.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 84864  bytes 10804454 (10.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135765  bytes 158278508 (158.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 47724  bytes 6028757 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47724  bytes 6028757 (6.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 84879  bytes 10808866 (10.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135788  bytes 158282720 (158.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 47734  bytes 6029443 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47734  bytes 6029443 (6.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 85296  bytes 10850078 (10.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136514  bytes 159260593 (159.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 47853  bytes 6046901 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47853  bytes 6046901 (6.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 85338  bytes 10859093 (10.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136565  bytes 159269812 (159.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 47890  bytes 6049376 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47890  bytes 6049376 (6.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 85790  bytes 10903686 (10.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 137264  bytes 160179403 (160.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 48041  bytes 6070121 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48041  bytes 6070121 (6.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 85816  bytes 10912514 (10.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 137295  bytes 160184071 (160.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 48053  bytes 6070947 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48053  bytes 6070947 (6.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 86272  bytes 10949989 (10.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 138111  bytes 161306892 (161.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 48185  bytes 6089259 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48185  bytes 6089259 (6.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 86676  bytes 10982173 (10.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 138900  bytes 162450988 (162.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 48201  bytes 6090363 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48201  bytes 6090363 (6.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 86744  bytes 11000908 (11.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 138981  bytes 162465768 (162.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 48331  bytes 6108617 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48331  bytes 6108617 (6.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 87207  bytes 11032403 (11.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 139808  bytes 163672384 (163.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 48351  bytes 6111087 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48351  bytes 6111087 (6.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 87710  bytes 11078445 (11.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 140691  bytes 164879223 (164.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 48484  bytes 6129509 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48484  bytes 6129509 (6.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 87733  bytes 11087605 (11.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 140724  bytes 164884028 (164.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 48500  bytes 6130661 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48500  bytes 6130661 (6.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 88272  bytes 11129457 (11.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141651  bytes 166184458 (166.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 48622  bytes 6148275 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48622  bytes 6148275 (6.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 88772  bytes 11166802 (11.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 142394  bytes 167247895 (167.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 48653  bytes 6150376 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48653  bytes 6150376 (6.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 88885  bytes 11190557 (11.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 142526  bytes 167272037 (167.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 48821  bytes 6172235 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48821  bytes 6172235 (6.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 89257  bytes 11220317 (11.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143178  bytes 168209078 (168.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 48837  bytes 6173339 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48837  bytes 6173339 (6.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 89315  bytes 11233933 (11.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143253  bytes 168223406 (168.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 48953  bytes 6190499 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48953  bytes 6190499 (6.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 89676  bytes 11263906 (11.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143826  bytes 169033906 (169.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 48977  bytes 6192209 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48977  bytes 6192209 (6.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 89733  bytes 11277526 (11.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143899  bytes 169048079 (169.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 49089  bytes 6209161 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49089  bytes 6209161 (6.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 89761  bytes 11286907 (11.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143937  bytes 169053351 (169.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 49117  bytes 6212263 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49117  bytes 6212263 (6.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 90123  bytes 11319776 (11.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 144549  bytes 169868087 (169.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 49245  bytes 6230389 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49245  bytes 6230389 (6.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 90495  bytes 11349630 (11.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145237  bytes 170852786 (170.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 49271  bytes 6232265 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49271  bytes 6232265 (6.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 90513  bytes 11354205 (11.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145259  bytes 170856900 (170.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 49283  bytes 6233079 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49283  bytes 6233079 (6.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 90571  bytes 11367756 (11.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145335  bytes 170871370 (170.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 49409  bytes 6250985 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49409  bytes 6250985 (6.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 90657  bytes 11386786 (11.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145435  bytes 170890098 (170.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 49518  bytes 6264266 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49518  bytes 6264266 (6.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 90695  bytes 11399266 (11.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145487  bytes 170899495 (170.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 49585  bytes 6273297 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49585  bytes 6273297 (6.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 91171  bytes 11437736 (11.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 146326  bytes 172061690 (172.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 49712  bytes 6291263 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49712  bytes 6291263 (6.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 91196  bytes 11445804 (11.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 146362  bytes 172067437 (172.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 49736  bytes 6292961 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49736  bytes 6292961 (6.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 91760  bytes 11492853 (11.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 147281  bytes 173335633 (173.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 49859  bytes 6310627 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49859  bytes 6310627 (6.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 91777  bytes 11497941 (11.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 147309  bytes 173340236 (173.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 49883  bytes 6313435 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49883  bytes 6313435 (6.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 91801  bytes 11503126 (11.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 147339  bytes 173345007 (173.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 49899  bytes 6314575 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49899  bytes 6314575 (6.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 91817  bytes 11507566 (11.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 147364  bytes 173349336 (173.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 49915  bytes 6315727 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49915  bytes 6315727 (6.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 92351  bytes 11556954 (11.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148309  bytes 174639137 (174.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 50082  bytes 6341416 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50082  bytes 6341416 (6.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 92390  bytes 11565877 (11.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148361  bytes 174648587 (174.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 50150  bytes 6350523 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50150  bytes 6350523 (6.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 92487  bytes 11591283 (11.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148475  bytes 174668419 (174.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 50256  bytes 6363632 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50256  bytes 6363632 (6.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 92977  bytes 11626703 (11.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149363  bytes 175939598 (175.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 50333  bytes 6373340 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50333  bytes 6373340 (6.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 93036  bytes 11640403 (11.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149439  bytes 175954002 (175.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 50447  bytes 6390432 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50447  bytes 6390432 (6.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 93057  bytes 11648743 (11.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149469  bytes 175958612 (175.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 50463  bytes 6391584 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50463  bytes 6391584 (6.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 93564  bytes 11687933 (11.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150376  bytes 177233155 (177.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 50566  bytes 6406678 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50566  bytes 6406678 (6.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 93594  bytes 11694659 (11.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150417  bytes 177239879 (177.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 50620  bytes 6412664 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50620  bytes 6412664 (6.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 94104  bytes 11736564 (11.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 151320  bytes 178512643 (178.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 50690  bytes 6422547 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50690  bytes 6422547 (6.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 94140  bytes 11745412 (11.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 151370  bytes 178522000 (178.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 50762  bytes 6431898 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50762  bytes 6431898 (6.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 94656  bytes 11790443 (11.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152296  bytes 179803390 (179.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 50889  bytes 6449760 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50889  bytes 6449760 (6.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 94671  bytes 11794822 (11.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152317  bytes 179807424 (179.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 50901  bytes 6450586 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50901  bytes 6450586 (6.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 94724  bytes 11805309 (11.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152381  bytes 179817624 (179.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 50950  bytes 6454984 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50950  bytes 6454984 (6.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 95289  bytes 11855921 (11.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153326  bytes 181100813 (181.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 51100  bytes 6474474 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51100  bytes 6474474 (6.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 95336  bytes 11867617 (11.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153385  bytes 181112104 (181.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 51171  bytes 6486818 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51171  bytes 6486818 (6.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 95368  bytes 11874301 (11.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153430  bytes 181119798 (181.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 51228  bytes 6492614 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51228  bytes 6492614 (6.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 95432  bytes 11891815 (11.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153508  bytes 181134291 (181.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 51341  bytes 6509654 (6.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51341  bytes 6509654 (6.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 96005  bytes 11929204 (11.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 154372  bytes 182396269 (182.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 51365  bytes 6512414 (6.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51365  bytes 6512414 (6.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 96065  bytes 11943068 (11.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 154454  bytes 182411154 (182.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 51495  bytes 6530694 (6.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51495  bytes 6530694 (6.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 96776  bytes 11992879 (11.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155337  bytes 183703347 (183.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 51511  bytes 6531798 (6.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51511  bytes 6531798 (6.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 96834  bytes 12006307 (12.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155412  bytes 183717614 (183.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 51630  bytes 6549304 (6.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51630  bytes 6549304 (6.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 96861  bytes 12015797 (12.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155445  bytes 183722410 (183.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 51644  bytes 6550258 (6.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51644  bytes 6550258 (6.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 97421  bytes 12052655 (12.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 156323  bytes 184995016 (184.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 51681  bytes 6553887 (6.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51681  bytes 6553887 (6.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 97511  bytes 12071366 (12.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 156427  bytes 185013944 (185.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 51787  bytes 6565923 (6.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51787  bytes 6565923 (6.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 97577  bytes 12085237 (12.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 156503  bytes 185028431 (185.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 51907  bytes 6583361 (6.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51907  bytes 6583361 (6.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 97947  bytes 12121263 (12.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157203  bytes 185996718 (185.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 51985  bytes 6593068 (6.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51985  bytes 6593068 (6.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 98010  bytes 12135988 (12.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157290  bytes 186011938 (186.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 52103  bytes 6610522 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52103  bytes 6610522 (6.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 98284  bytes 12162297 (12.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157813  bytes 186747438 (186.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 52129  bytes 6613422 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52129  bytes 6613422 (6.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 98328  bytes 12172489 (12.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157872  bytes 186757542 (186.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 52206  bytes 6623695 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52206  bytes 6623695 (6.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 98370  bytes 12185872 (12.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157926  bytes 186767046 (186.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 52272  bytes 6632544 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52272  bytes 6632544 (6.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 98673  bytes 12215131 (12.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 158491  bytes 187511750 (187.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 52402  bytes 6650716 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52402  bytes 6650716 (6.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 98691  bytes 12219663 (12.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 158516  bytes 187516021 (187.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 52412  bytes 6651402 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52412  bytes 6651402 (6.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 99014  bytes 12256858 (12.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 159102  bytes 188273459 (188.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 52545  bytes 6670982 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52545  bytes 6670982 (6.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 99075  bytes 12270167 (12.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 159174  bytes 188286867 (188.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 52593  bytes 6674114 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52593  bytes 6674114 (6.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 99409  bytes 12306983 (12.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 159749  bytes 189037707 (189.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 52721  bytes 6692194 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52721  bytes 6692194 (6.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 99425  bytes 12311454 (12.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 159771  bytes 189041823 (189.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 52733  bytes 6693008 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52733  bytes 6693008 (6.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 99806  bytes 12348694 (12.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 160350  bytes 189805167 (189.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 52856  bytes 6710828 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52856  bytes 6710828 (6.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 99823  bytes 12353782 (12.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 160374  bytes 189809476 (189.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 52874  bytes 6713170 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52874  bytes 6713170 (6.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 100171  bytes 12390518 (12.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 160958  bytes 190562810 (190.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 53012  bytes 6732068 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53012  bytes 6732068 (6.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 100188  bytes 12395049 (12.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 160983  bytes 190567140 (190.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 53024  bytes 6732882 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53024  bytes 6732882 (6.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 100252  bytes 12412700 (12.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 161066  bytes 190581981 (190.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 53151  bytes 6750866 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53151  bytes 6750866 (6.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 100616  bytes 12438701 (12.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 161684  bytes 191475195 (191.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 53169  bytes 6752098 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53169  bytes 6752098 (6.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 101038  bytes 12480971 (12.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 162406  bytes 192435972 (192.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 53305  bytes 6771870 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53305  bytes 6771870 (6.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 101104  bytes 12494377 (12.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 162478  bytes 192449425 (192.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 53348  bytes 6774755 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53348  bytes 6774755 (6.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 101566  bytes 12535708 (12.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 163313  bytes 193593443 (193.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 53485  bytes 6793377 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53485  bytes 6793377 (6.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 101583  bytes 12540219 (12.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 163336  bytes 193597600 (193.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 53497  bytes 6794203 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53497  bytes 6794203 (6.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 101651  bytes 12558166 (12.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 163417  bytes 193612343 (193.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 53622  bytes 6812073 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53622  bytes 6812073 (6.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 102105  bytes 12589370 (12.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164175  bytes 194706764 (194.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 53648  bytes 6814961 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53648  bytes 6814961 (6.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 102170  bytes 12603596 (12.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164256  bytes 194721605 (194.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 53775  bytes 6833047 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53775  bytes 6833047 (6.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 102187  bytes 12608395 (12.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164280  bytes 194725905 (194.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 53787  bytes 6833861 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53787  bytes 6833861 (6.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 102626  bytes 12649308 (12.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164921  bytes 195580096 (195.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 53916  bytes 6852029 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53916  bytes 6852029 (6.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 102642  bytes 12653748 (12.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164946  bytes 195584426 (195.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 53926  bytes 6852715 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53926  bytes 6852715 (6.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 102663  bytes 12659099 (12.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164971  bytes 195589030 (195.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 53946  bytes 6855197 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53946  bytes 6855197 (6.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 103060  bytes 12700635 (12.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 165635  bytes 196430602 (196.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 54094  bytes 6874571 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54094  bytes 6874571 (6.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 103140  bytes 12718694 (12.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 165740  bytes 196449927 (196.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 54231  bytes 6893246 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54231  bytes 6893246 (6.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 103165  bytes 12726773 (12.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 165772  bytes 196455390 (196.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 54249  bytes 6894500 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54249  bytes 6894500 (6.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 103524  bytes 12763962 (12.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 166378  bytes 197240964 (197.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 54379  bytes 6912744 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54379  bytes 6912744 (6.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 103548  bytes 12769607 (12.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 166408  bytes 197245771 (197.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 54397  bytes 6915086 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54397  bytes 6915086 (6.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 103610  bytes 12783615 (12.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 166484  bytes 197260122 (197.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 54518  bytes 6932684 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54518  bytes 6932684 (6.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 103963  bytes 12813316 (12.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 167091  bytes 198124506 (198.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 54542  bytes 6934382 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54542  bytes 6934382 (6.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 104022  bytes 12827098 (12.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 167169  bytes 198139080 (198.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 54658  bytes 6951638 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54658  bytes 6951638 (6.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 104383  bytes 12856315 (12.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 167763  bytes 198984077 (198.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 54682  bytes 6953336 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54682  bytes 6953336 (6.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 104436  bytes 12870163 (12.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 167831  bytes 198997944 (198.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 54800  bytes 6971840 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54800  bytes 6971840 (6.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 104459  bytes 12875333 (12.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 167867  bytes 199003320 (199.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 54825  bytes 6973523 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54825  bytes 6973523 (6.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 104527  bytes 12888935 (12.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 167939  bytes 199016652 (199.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 54874  bytes 6976849 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54874  bytes 6976849 (6.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 105067  bytes 12930978 (12.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 168564  bytes 199907734 (199.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 54892  bytes 6978093 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54892  bytes 6978093 (6.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 105110  bytes 12940686 (12.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 168615  bytes 199917183 (199.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 54956  bytes 6987358 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54956  bytes 6987358 (6.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 105168  bytes 12954983 (12.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 168697  bytes 199932073 (199.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 55086  bytes 7006676 (7.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55086  bytes 7006676 (7.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 105244  bytes 12971956 (12.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 168787  bytes 199949443 (199.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 55230  bytes 7028925 (7.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55230  bytes 7028925 (7.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 105754  bytes 13010117 (13.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 169557  bytes 201041923 (201.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 55283  bytes 7033903 (7.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55283  bytes 7033903 (7.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 105814  bytes 13023972 (13.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 169632  bytes 201056253 (201.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 55405  bytes 7051411 (7.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55405  bytes 7051411 (7.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 105832  bytes 13028912 (13.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 169660  bytes 201060862 (201.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 55423  bytes 7052729 (7.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55423  bytes 7052729 (7.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 105855  bytes 13034405 (13.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 169687  bytes 201065386 (201.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 55443  bytes 7055199 (7.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55443  bytes 7055199 (7.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 106436  bytes 13079804 (13.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 170571  bytes 202306786 (202.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 55521  bytes 7065452 (7.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55521  bytes 7065452 (7.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 106540  bytes 13101982 (13.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 170690  bytes 202330101 (202.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 55671  bytes 7084814 (7.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55671  bytes 7084814 (7.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 106573  bytes 13110378 (13.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 170741  bytes 202339444 (202.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 55738  bytes 7093845 (7.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55738  bytes 7093845 (7.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 106916  bytes 13142404 (13.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171344  bytes 203171525 (203.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 55813  bytes 7103824 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55813  bytes 7103824 (7.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 106960  bytes 13152284 (13.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171406  bytes 203181996 (203.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 55891  bytes 7114691 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55891  bytes 7114691 (7.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 106980  bytes 13157391 (13.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171432  bytes 203186436 (203.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 55911  bytes 7116133 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55911  bytes 7116133 (7.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 107037  bytes 13170817 (13.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171509  bytes 203200789 (203.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 56033  bytes 7133759 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56033  bytes 7133759 (7.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 107350  bytes 13204552 (13.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 172081  bytes 203951060 (203.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 56158  bytes 7151553 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56158  bytes 7151553 (7.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 107369  bytes 13209419 (13.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 172108  bytes 203955518 (203.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 56176  bytes 7152845 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56176  bytes 7152845 (7.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 107746  bytes 13249177 (13.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 172735  bytes 204782011 (204.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 56309  bytes 7172271 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56309  bytes 7172271 (7.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 107764  bytes 13253938 (13.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 172762  bytes 204786577 (204.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 56325  bytes 7173423 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56325  bytes 7173423 (7.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 108276  bytes 13304285 (13.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173608  bytes 205884731 (205.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 56478  bytes 7193106 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56478  bytes 7193106 (7.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 108295  bytes 13308939 (13.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173641  bytes 205889943 (205.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 56513  bytes 7195462 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56513  bytes 7195462 (7.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 108748  bytes 13345458 (13.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 174255  bytes 206764516 (206.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 56529  bytes 7196566 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56529  bytes 7196566 (7.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 108768  bytes 13350831 (13.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 174284  bytes 206769220 (206.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 56555  bytes 7199514 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56555  bytes 7199514 (7.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 108792  bytes 13356036 (13.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 174315  bytes 206774073 (206.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 56573  bytes 7200816 (7.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56573  bytes 7200816 (7.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 108828  bytes 13365255 (13.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 174365  bytes 206783464 (206.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 56644  bytes 7210623 (7.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56644  bytes 7210623 (7.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 108845  bytes 13369771 (13.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 174389  bytes 206787737 (206.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 56654  bytes 7211309 (7.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56654  bytes 7211309 (7.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 109283  bytes 13408030 (13.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 175040  bytes 207654854 (207.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 56774  bytes 7228723 (7.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56774  bytes 7228723 (7.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 109312  bytes 13414314 (13.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 175081  bytes 207662513 (207.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 56807  bytes 7232155 (7.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56807  bytes 7232155 (7.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 109366  bytes 13427494 (13.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 175151  bytes 207676542 (207.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 56921  bytes 7249211 (7.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56921  bytes 7249211 (7.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 109448  bytes 13445532 (13.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 175251  bytes 207695732 (207.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 57060  bytes 7268050 (7.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57060  bytes 7268050 (7.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 109521  bytes 13463046 (13.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 175347  bytes 207714318 (207.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 57196  bytes 7286645 (7.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57196  bytes 7286645 (7.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 110052  bytes 13505134 (13.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 176250  bytes 208963040 (208.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 57317  bytes 7304267 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57317  bytes 7304267 (7.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 110100  bytes 13515423 (13.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 176309  bytes 208973794 (208.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 57393  bytes 7315058 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57393  bytes 7315058 (7.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 110139  bytes 13524967 (13.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 176361  bytes 208983315 (208.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 57464  bytes 7324829 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57464  bytes 7324829 (7.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 110175  bytes 13533746 (13.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 176409  bytes 208992419 (208.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 57528  bytes 7333574 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57528  bytes 7333574 (7.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 110202  bytes 13543158 (13.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 176445  bytes 208997422 (208.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 57544  bytes 7334726 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57544  bytes 7334726 (7.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 110729  bytes 13580248 (13.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 177139  bytes 210004558 (210.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 57564  bytes 7336098 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57564  bytes 7336098 (7.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 110816  bytes 13599987 (13.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 177251  bytes 210024884 (210.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 57750  bytes 7364145 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57750  bytes 7364145 (7.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 110856  bytes 13609180 (13.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 177301  bytes 210034422 (210.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 57816  bytes 7373040 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57816  bytes 7373040 (7.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 111239  bytes 13646504 (13.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 177940  bytes 210878949 (210.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 57953  bytes 7391662 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57953  bytes 7391662 (7.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 111293  bytes 13659320 (13.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 178004  bytes 210891652 (210.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 58000  bytes 7394822 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58000  bytes 7394822 (7.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 111310  bytes 13663812 (13.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 178029  bytes 210895983 (210.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 58010  bytes 7395508 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58010  bytes 7395508 (7.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 111381  bytes 13683335 (13.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 178115  bytes 210911149 (210.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 58141  bytes 7414784 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58141  bytes 7414784 (7.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 111729  bytes 13712038 (13.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 178639  bytes 211625896 (211.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 58225  bytes 7425573 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58225  bytes 7425573 (7.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 111764  bytes 13720642 (13.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 178684  bytes 211634826 (211.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 58289  bytes 7434294 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58289  bytes 7434294 (7.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 112166  bytes 13758884 (13.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 179245  bytes 212366235 (212.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 58411  bytes 7452062 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58411  bytes 7452062 (7.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 112184  bytes 13763502 (13.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 179268  bytes 212370432 (212.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 58425  bytes 7453016 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58425  bytes 7453016 (7.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 112238  bytes 13778093 (13.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 179333  bytes 212380937 (212.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 58507  bytes 7464647 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58507  bytes 7464647 (7.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 112721  bytes 13817949 (13.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 179942  bytes 213227579 (213.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 58573  bytes 7473578 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58573  bytes 7473578 (7.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 113123  bytes 13856288 (13.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 180582  bytes 214082281 (214.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 58700  bytes 7491698 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58700  bytes 7491698 (7.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 113189  bytes 13872837 (13.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 180658  bytes 214096613 (214.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 58754  bytes 7495275 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58754  bytes 7495275 (7.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 113600  bytes 13912001 (13.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 181328  bytes 214986960 (214.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 58882  bytes 7513379 (7.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58882  bytes 7513379 (7.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 113943  bytes 13941115 (13.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 181927  bytes 215834976 (215.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 58910  bytes 7516407 (7.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58910  bytes 7516407 (7.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 113964  bytes 13946034 (13.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 181957  bytes 215839730 (215.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 58936  bytes 7518315 (7.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58936  bytes 7518315 (7.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 114030  bytes 13965850 (13.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 182039  bytes 215854481 (215.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 59049  bytes 7535355 (7.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59049  bytes 7535355 (7.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 114467  bytes 14002426 (14.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 182793  bytes 216879145 (216.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 59180  bytes 7553637 (7.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59180  bytes 7553637 (7.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 114890  bytes 14034890 (14.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 183477  bytes 217862362 (217.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 59198  bytes 7554891 (7.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59198  bytes 7554891 (7.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 114947  bytes 14049013 (14.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 183555  bytes 217876929 (217.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 59333  bytes 7574457 (7.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59333  bytes 7574457 (7.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 115338  bytes 14080718 (14.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 184244  bytes 218863889 (218.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 59351  bytes 7575701 (7.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59351  bytes 7575701 (7.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 115721  bytes 14118122 (14.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 184916  bytes 219761630 (219.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 59484  bytes 7594139 (7.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59484  bytes 7594139 (7.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 116189  bytes 14159312 (14.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 185587  bytes 220664157 (220.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 59531  bytes 7597276 (7.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59531  bytes 7597276 (7.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 116245  bytes 14172808 (14.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 185664  bytes 220678611 (220.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 59661  bytes 7615405 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59661  bytes 7615405 (7.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 116607  bytes 14203653 (14.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 186309  bytes 221595755 (221.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 59689  bytes 7618433 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59689  bytes 7618433 (7.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 116667  bytes 14217481 (14.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 186390  bytes 221610509 (221.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 59818  bytes 7636565 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59818  bytes 7636565 (7.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 117045  bytes 14247716 (14.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 187012  bytes 222501088 (222.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 59836  bytes 7637809 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59836  bytes 7637809 (7.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 117109  bytes 14265311 (14.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 187093  bytes 222515798 (222.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 59963  bytes 7655755 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59963  bytes 7655755 (7.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 117433  bytes 14288959 (14.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 187664  bytes 223339660 (223.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 59979  bytes 7656859 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59979  bytes 7656859 (7.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 117495  bytes 14306975 (14.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 187742  bytes 223354172 (223.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 60106  bytes 7675831 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60106  bytes 7675831 (7.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 117874  bytes 14333770 (14.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 188389  bytes 224281410 (224.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 60128  bytes 7677401 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60128  bytes 7677401 (7.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 117935  bytes 14353474 (14.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 188469  bytes 224296035 (224.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 60241  bytes 7694405 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60241  bytes 7694405 (7.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 118392  bytes 14387430 (14.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 189278  bytes 225437887 (225.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 60288  bytes 7697565 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60288  bytes 7697565 (7.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 118473  bytes 14409104 (14.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 189379  bytes 225456861 (225.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 60428  bytes 7716429 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60428  bytes 7716429 (7.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 118846  bytes 14436151 (14.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 190059  bytes 226433275 (226.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 60452  bytes 7719189 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60452  bytes 7719189 (7.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 118907  bytes 14450059 (14.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 190136  bytes 226447790 (226.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 60579  bytes 7737253 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60579  bytes 7737253 (7.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 119179  bytes 14475414 (14.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 190636  bytes 227154051 (227.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 60597  bytes 7738485 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60597  bytes 7738485 (7.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 119605  bytes 14515595 (14.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 191344  bytes 228112011 (228.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 60715  bytes 7755891 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60715  bytes 7755891 (7.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 119623  bytes 14520307 (14.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 191373  bytes 228116678 (228.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 60735  bytes 7757311 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60735  bytes 7757311 (7.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 119989  bytes 14557257 (14.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 192009  bytes 228967757 (228.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 60868  bytes 7776737 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60868  bytes 7776737 (7.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120321  bytes 14585110 (14.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 192607  bytes 229809447 (229.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 60892  bytes 7778435 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60892  bytes 7778435 (7.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120703  bytes 14622360 (14.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 193242  bytes 230651711 (230.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 61016  bytes 7796213 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61016  bytes 7796213 (7.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120737  bytes 14634892 (14.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 193286  bytes 230658052 (230.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 61045  bytes 7798184 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61045  bytes 7798184 (7.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 121134  bytes 14675635 (14.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 193972  bytes 231535403 (231.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 61192  bytes 7817495 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61192  bytes 7817495 (7.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 121450  bytes 14705530 (14.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 194576  bytes 232380330 (232.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 61224  bytes 7820825 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61224  bytes 7820825 (7.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 121520  bytes 14725934 (14.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 194657  bytes 232395549 (232.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 61341  bytes 7838273 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61341  bytes 7838273 (7.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 121840  bytes 14749424 (14.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 195240  bytes 233228800 (233.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 61367  bytes 7840111 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61367  bytes 7840111 (7.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 122216  bytes 14788438 (14.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 195905  bytes 234117773 (234.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 61488  bytes 7857719 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61488  bytes 7857719 (7.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 122232  bytes 14792921 (14.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 195932  bytes 234122258 (234.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 61506  bytes 7859011 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61506  bytes 7859011 (7.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 122660  bytes 14833084 (14.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 196648  bytes 235091595 (235.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 61635  bytes 7878229 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61635  bytes 7878229 (7.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 122688  bytes 14841961 (14.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 196685  bytes 235096729 (235.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 61657  bytes 7879799 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61657  bytes 7879799 (7.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 123165  bytes 14880412 (14.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197530  bytes 236271355 (236.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 61774  bytes 7897071 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61774  bytes 7897071 (7.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 123649  bytes 14918234 (14.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198399  bytes 237531350 (237.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 61798  bytes 7898807 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61798  bytes 7898807 (7.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 123742  bytes 14938242 (14.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198502  bytes 237551447 (237.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 61904  bytes 7912872 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61904  bytes 7912872 (7.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 123766  bytes 14943957 (14.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198537  bytes 237556619 (237.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 61937  bytes 7916198 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61937  bytes 7916198 (7.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 124275  bytes 14988977 (14.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199396  bytes 238736997 (238.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 62063  bytes 7934184 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62063  bytes 7934184 (7.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 124297  bytes 14998176 (14.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199429  bytes 238741882 (238.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 62081  bytes 7935476 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62081  bytes 7935476 (7.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 124739  bytes 15034912 (15.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 200166  bytes 239747668 (239.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 62208  bytes 7953350 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62208  bytes 7953350 (7.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 125070  bytes 15064732 (15.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 200726  bytes 240540845 (240.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 62230  bytes 7954920 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62230  bytes 7954920 (7.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 125116  bytes 15075620 (15.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 200786  bytes 240551012 (240.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 62305  bytes 7966021 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62305  bytes 7966021 (7.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 125477  bytes 15108686 (15.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201426  bytes 241435626 (241.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 62379  bytes 7975522 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62379  bytes 7975522 (7.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 125540  bytes 15122693 (15.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201503  bytes 241450160 (241.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 62498  bytes 7992910 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62498  bytes 7992910 (7.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 125878  bytes 15150715 (15.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202114  bytes 242325359 (242.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 62520  bytes 7994480 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62520  bytes 7994480 (7.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 125995  bytes 15179586 (15.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202253  bytes 242350067 (242.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 62668  bytes 8013833 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62668  bytes 8013833 (8.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 126347  bytes 15205486 (15.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202869  bytes 243225265 (243.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 62709  bytes 8017706 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62709  bytes 8017706 (8.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 126410  bytes 15219554 (15.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202948  bytes 243239875 (243.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 62828  bytes 8035200 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62828  bytes 8035200 (8.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 126428  bytes 15224203 (15.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202976  bytes 243244421 (243.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 62846  bytes 8036492 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62846  bytes 8036492 (8.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 126446  bytes 15228747 (15.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202998  bytes 243248530 (243.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 62856  bytes 8037178 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62856  bytes 8037178 (8.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 126489  bytes 15244223 (15.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203056  bytes 243258437 (243.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 62929  bytes 8047065 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62929  bytes 8047065 (8.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 126864  bytes 15274442 (15.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203694  bytes 244136613 (244.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 63007  bytes 8057896 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63007  bytes 8057896 (8.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 126906  bytes 15283714 (15.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203745  bytes 244146142 (244.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 63071  bytes 8066641 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63071  bytes 8066641 (8.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 127329  bytes 15323135 (15.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204409  bytes 245029895 (245.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 63201  bytes 8084861 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63201  bytes 8084861 (8.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 127351  bytes 15331040 (15.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204438  bytes 245035151 (245.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 63217  bytes 8085965 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63217  bytes 8085965 (8.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 127443  bytes 15355707 (15.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204550  bytes 245054982 (245.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 63358  bytes 8104845 (8.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63358  bytes 8104845 (8.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 127849  bytes 15387543 (15.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205261  bytes 246049814 (246.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 63409  bytes 8109454 (8.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63409  bytes 8109454 (8.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 128466  bytes 15439525 (15.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205986  bytes 247026089 (247.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 63535  bytes 8127476 (8.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63535  bytes 8127476 (8.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 128481  bytes 15443937 (15.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206007  bytes 247030154 (247.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 63553  bytes 8128768 (8.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63553  bytes 8128768 (8.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 128537  bytes 15457519 (15.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206082  bytes 247044546 (247.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 63671  bytes 8146128 (8.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63671  bytes 8146128 (8.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 128839  bytes 15483704 (15.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206632  bytes 247830664 (247.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 63689  bytes 8147372 (8.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63689  bytes 8147372 (8.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 128898  bytes 15497911 (15.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206716  bytes 247845834 (247.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 63826  bytes 8167090 (8.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63826  bytes 8167090 (8.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 129214  bytes 15527191 (15.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207274  bytes 248638052 (248.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 63844  bytes 8168322 (8.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63844  bytes 8168322 (8.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 129277  bytes 15544706 (15.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207354  bytes 248652641 (248.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 63965  bytes 8185956 (8.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63965  bytes 8185956 (8.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 129625  bytes 15569700 (15.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207972  bytes 249546586 (249.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 63981  bytes 8187060 (8.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63981  bytes 8187060 (8.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130113  bytes 15612470 (15.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208888  bytes 250809035 (250.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 64120  bytes 8205812 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64120  bytes 8205812 (8.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130640  bytes 15657470 (15.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209875  bytes 252187228 (252.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 64173  bytes 8210477 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64173  bytes 8210477 (8.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130699  bytes 15671160 (15.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209953  bytes 252201779 (252.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 64302  bytes 8228645 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64302  bytes 8228645 (8.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131290  bytes 15716073 (15.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210598  bytes 253116997 (253.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 64322  bytes 8230027 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64322  bytes 8230027 (8.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131348  bytes 15729552 (15.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210673  bytes 253131331 (253.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 64441  bytes 8247569 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64441  bytes 8247569 (8.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131658  bytes 15756087 (15.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211225  bytes 253921166 (253.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 64457  bytes 8248673 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64457  bytes 8248673 (8.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131722  bytes 15770652 (15.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211307  bytes 253936058 (253.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 64590  bytes 8268147 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64590  bytes 8268147 (8.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132085  bytes 15799968 (15.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211952  bytes 254867166 (254.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 64606  bytes 8269251 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64606  bytes 8269251 (8.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132567  bytes 15843183 (15.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 212668  bytes 255830741 (255.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 64736  bytes 8287459 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64736  bytes 8287459 (8.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132590  bytes 15851669 (15.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 212696  bytes 255835213 (255.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 64748  bytes 8288285 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64748  bytes 8288285 (8.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132973  bytes 15885209 (15.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213409  bytes 256812549 (256.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 64875  bytes 8306313 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64875  bytes 8306313 (8.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133414  bytes 15925882 (15.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214176  bytes 257849283 (257.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 64930  bytes 8311093 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64930  bytes 8311093 (8.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133826  bytes 15964836 (15.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214877  bytes 258788538 (258.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 65075  bytes 8330214 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65075  bytes 8330214 (8.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133842  bytes 15969308 (15.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214898  bytes 258792597 (258.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 65085  bytes 8330900 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65085  bytes 8330900 (8.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134219  bytes 16008482 (16.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215597  bytes 259729418 (259.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 65215  bytes 8349120 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65215  bytes 8349120 (8.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134237  bytes 16013069 (16.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215620  bytes 259733588 (259.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 65227  bytes 8349946 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65227  bytes 8349946 (8.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134627  bytes 16052126 (16.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216272  bytes 260594334 (260.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 65359  bytes 8369474 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65359  bytes 8369474 (8.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134652  bytes 16061445 (16.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216301  bytes 260598883 (260.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 65371  bytes 8370288 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65371  bytes 8370288 (8.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135066  bytes 16096700 (16.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 217042  bytes 261605423 (261.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 65501  bytes 8388508 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65501  bytes 8388508 (8.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135415  bytes 16125295 (16.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 217721  bytes 262576677 (262.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 65525  bytes 8390158 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65525  bytes 8390158 (8.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135959  bytes 16176865 (16.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218519  bytes 263641765 (263.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 65648  bytes 8407824 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65648  bytes 8407824 (8.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136025  bytes 16191038 (16.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218598  bytes 263655743 (263.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 65705  bytes 8412830 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65705  bytes 8412830 (8.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136407  bytes 16228734 (16.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219231  bytes 264479102 (264.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 65850  bytes 8432045 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65850  bytes 8432045 (8.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136429  bytes 16237945 (16.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219258  bytes 264483568 (264.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 65862  bytes 8432859 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65862  bytes 8432859 (8.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136803  bytes 16271145 (16.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219865  bytes 265289740 (265.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 65992  bytes 8451043 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65992  bytes 8451043 (8.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136825  bytes 16280296 (16.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219892  bytes 265294182 (265.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 66004  bytes 8451869 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66004  bytes 8451869 (8.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137197  bytes 16314299 (16.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 220522  bytes 266123046 (266.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 66143  bytes 8471761 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66143  bytes 8471761 (8.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137518  bytes 16343773 (16.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 221095  bytes 266931602 (266.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 66165  bytes 8473283 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66165  bytes 8473283 (8.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137876  bytes 16380413 (16.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 221744  bytes 267801671 (267.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 66286  bytes 8490845 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66286  bytes 8490845 (8.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137891  bytes 16384801 (16.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 221770  bytes 267806076 (267.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 66302  bytes 8491997 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66302  bytes 8491997 (8.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138249  bytes 16421516 (16.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 222378  bytes 268612418 (268.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 66426  bytes 8509739 (8.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66426  bytes 8509739 (8.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138296  bytes 16431597 (16.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 222439  bytes 268622467 (268.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 66475  bytes 8514163 (8.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66475  bytes 8514163 (8.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138642  bytes 16470109 (16.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 223003  bytes 269328497 (269.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 66627  bytes 8533956 (8.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66627  bytes 8533956 (8.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138672  bytes 16482708 (16.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 223042  bytes 269333737 (269.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 66645  bytes 8535200 (8.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66645  bytes 8535200 (8.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139187  bytes 16525259 (16.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 223652  bytes 270141504 (270.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 66764  bytes 8552730 (8.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66764  bytes 8552730 (8.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139505  bytes 16552212 (16.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 224228  bytes 270961726 (270.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 66780  bytes 8553834 (8.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66780  bytes 8553834 (8.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139860  bytes 16591033 (16.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 224850  bytes 271776994 (271.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 66912  bytes 8573208 (8.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66912  bytes 8573208 (8.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139881  bytes 16599373 (16.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 224881  bytes 271781680 (271.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 66928  bytes 8574360 (8.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66928  bytes 8574360 (8.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140393  bytes 16642307 (16.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225507  bytes 272613426 (272.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 67048  bytes 8591930 (8.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67048  bytes 8591930 (8.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140670  bytes 16667103 (16.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226043  bytes 273369452 (273.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 67070  bytes 8593500 (8.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67070  bytes 8593500 (8.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141095  bytes 16706688 (16.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226631  bytes 274141563 (274.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 67191  bytes 8611062 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67191  bytes 8611062 (8.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141129  bytes 16716593 (16.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226676  bytes 274147511 (274.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 67226  bytes 8614541 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67226  bytes 8614541 (8.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141510  bytes 16749845 (16.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 227302  bytes 274977420 (274.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 67277  bytes 8618004 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67277  bytes 8618004 (8.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141570  bytes 16763691 (16.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 227382  bytes 274992119 (274.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 67405  bytes 8635978 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67405  bytes 8635978 (8.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141918  bytes 16801265 (16.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 228012  bytes 275835377 (275.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 67521  bytes 8653280 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67521  bytes 8653280 (8.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141934  bytes 16805748 (16.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 228039  bytes 275839863 (275.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 67539  bytes 8654572 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67539  bytes 8654572 (8.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142303  bytes 16843870 (16.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 228661  bytes 276654433 (276.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 67669  bytes 8673866 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67669  bytes 8673866 (8.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142609  bytes 16870308 (16.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 229256  bytes 277501864 (277.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 67691  bytes 8675436 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67691  bytes 8675436 (8.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143072  bytes 16914011 (16.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 230057  bytes 278598002 (278.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 67816  bytes 8693242 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67816  bytes 8693242 (8.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143097  bytes 16922079 (16.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 230092  bytes 278603677 (278.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 67840  bytes 8694940 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67840  bytes 8694940 (8.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143594  bytes 16965529 (16.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 230945  bytes 279779389 (279.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 67962  bytes 8712554 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67962  bytes 8712554 (8.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143982  bytes 16997508 (16.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 231658  bytes 280797842 (280.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 67994  bytes 8715920 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67994  bytes 8715920 (8.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144078  bytes 17016796 (17.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 231764  bytes 280816762 (280.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 68091  bytes 8727489 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68091  bytes 8727489 (8.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144379  bytes 17042888 (17.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 232293  bytes 281566160 (281.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 68122  bytes 8729575 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68122  bytes 8729575 (8.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144747  bytes 17079419 (17.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 232925  bytes 282405710 (282.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 68245  bytes 8747265 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68245  bytes 8747265 (8.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144764  bytes 17083933 (17.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 232952  bytes 282410170 (282.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 68261  bytes 8748417 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68261  bytes 8748417 (8.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 145149  bytes 17122056 (17.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 233634  bytes 283316486 (283.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 68396  bytes 8768007 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68396  bytes 8768007 (8.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 145171  bytes 17127049 (17.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 233667  bytes 283323124 (283.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 68418  bytes 8769615 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68418  bytes 8769615 (8.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 145191  bytes 17131770 (17.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 233693  bytes 283327854 (283.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 68432  bytes 8770579 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68432  bytes 8770579 (8.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 145701  bytes 17175638 (17.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 234564  bytes 284527283 (284.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 68566  bytes 8788995 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68566  bytes 8788995 (8.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 145762  bytes 17189405 (17.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 234640  bytes 284541686 (284.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 68682  bytes 8806215 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68682  bytes 8806215 (8.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146296  bytes 17229096 (17.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 235606  bytes 285946444 (285.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 68706  bytes 8808975 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68706  bytes 8808975 (8.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146405  bytes 17251924 (17.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 235734  bytes 285970366 (285.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 68866  bytes 8829197 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68866  bytes 8829197 (8.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146742  bytes 17282445 (17.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 236362  bytes 286860542 (286.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 68899  bytes 8831425 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68899  bytes 8831425 (8.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146802  bytes 17296044 (17.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 236433  bytes 286874568 (286.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 69016  bytes 8848637 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69016  bytes 8848637 (8.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147107  bytes 17322341 (17.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 236975  bytes 287643401 (287.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 69040  bytes 8850335 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69040  bytes 8850335 (8.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147484  bytes 17359822 (17.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 237598  bytes 288465941 (288.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 69168  bytes 8869501 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69168  bytes 8869501 (8.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147505  bytes 17364789 (17.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 237628  bytes 288470703 (288.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 69188  bytes 8870921 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69188  bytes 8870921 (8.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147920  bytes 17403647 (17.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 238326  bytes 289409165 (289.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 69304  bytes 8888223 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69304  bytes 8888223 (8.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147935  bytes 17408035 (17.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 238347  bytes 289413200 (289.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 69314  bytes 8888909 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69314  bytes 8888909 (8.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147955  bytes 17412800 (17.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 238375  bytes 289417802 (289.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 69332  bytes 8890189 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69332  bytes 8890189 (8.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147976  bytes 17418332 (17.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 238404  bytes 289422543 (289.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 69352  bytes 8892671 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69352  bytes 8892671 (8.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 148045  bytes 17432592 (17.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 238485  bytes 289437335 (289.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 69450  bytes 8904252 (8.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69450  bytes 8904252 (8.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 148360  bytes 17463387 (17.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 238926  bytes 290007423 (290.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 69493  bytes 8907216 (8.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69493  bytes 8907216 (8.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 148500  bytes 17476546 (17.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239113  bytes 290252865 (290.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 69514  bytes 8909677 (8.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69514  bytes 8909677 (8.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 148612  bytes 17501286 (17.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239252  bytes 290280159 (290.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 69774  bytes 8949407 (8.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69774  bytes 8949407 (8.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 148678  bytes 17516002 (17.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239332  bytes 290294948 (290.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 69899  bytes 8968465 (8.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69899  bytes 8968465 (8.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 148979  bytes 17542324 (17.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239867  bytes 291051753 (291.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 69919  bytes 8969869 (8.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69919  bytes 8969869 (8.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 149042  bytes 17556325 (17.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239947  bytes 291066511 (291.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 70038  bytes 8987411 (8.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70038  bytes 8987411 (8.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 149064  bytes 17564823 (17.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239978  bytes 291071527 (291.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 70058  bytes 8988783 (8.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70058  bytes 8988783 (8.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 149537  bytes 17602331 (17.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 240548  bytes 291872169 (291.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 70080  bytes 8990353 (8.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70080  bytes 8990353 (8.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 149584  bytes 17612892 (17.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 240602  bytes 291881961 (291.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 70149  bytes 9001118 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70149  bytes 9001118 (9.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 149648  bytes 17626872 (17.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 240681  bytes 291896948 (291.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 70280  bytes 9019429 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70280  bytes 9019429 (9.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150008  bytes 17665416 (17.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241278  bytes 292661480 (292.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 70379  bytes 9030507 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70379  bytes 9030507 (9.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150064  bytes 17678771 (17.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241353  bytes 292675806 (292.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 70503  bytes 9048297 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70503  bytes 9048297 (9.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150354  bytes 17705054 (17.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241882  bytes 293427031 (293.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 70521  bytes 9049541 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70521  bytes 9049541 (9.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150412  bytes 17719319 (17.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241966  bytes 293442041 (293.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 70655  bytes 9069165 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70655  bytes 9069165 (9.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150716  bytes 17745761 (17.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 242497  bytes 294193592 (294.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 70671  bytes 9070269 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70671  bytes 9070269 (9.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150777  bytes 17759547 (17.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 242577  bytes 294208267 (294.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 70795  bytes 9088095 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70795  bytes 9088095 (9.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151078  bytes 17785799 (17.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 243106  bytes 294959078 (294.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 70815  bytes 9089467 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70815  bytes 9089467 (9.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151140  bytes 17803223 (17.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 243186  bytes 294973651 (294.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 70937  bytes 9107129 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70937  bytes 9107129 (9.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151506  bytes 17829930 (17.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 243718  bytes 295723547 (295.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 70961  bytes 9109889 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70961  bytes 9109889 (9.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151821  bytes 17863725 (17.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 244295  bytes 296481590 (296.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 71085  bytes 9127903 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71085  bytes 9127903 (9.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151886  bytes 17880844 (17.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 244370  bytes 296495178 (296.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 71126  bytes 9130621 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71126  bytes 9130621 (9.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 152212  bytes 17911641 (17.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 244949  bytes 297254974 (297.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 71265  bytes 9149347 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71265  bytes 9149347 (9.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 152542  bytes 17939260 (17.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 245476  bytes 298005554 (298.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 71283  bytes 9150591 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71283  bytes 9150591 (9.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 152603  bytes 17957244 (17.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 245561  bytes 298020581 (298.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 71414  bytes 9169961 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71414  bytes 9169961 (9.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153171  bytes 17997557 (17.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 246591  bytes 299517220 (299.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 71440  bytes 9171751 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71440  bytes 9171751 (9.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153486  bytes 18031431 (18.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 247172  bytes 300276940 (300.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 71568  bytes 9189795 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71568  bytes 9189795 (9.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153763  bytes 18058465 (18.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 247699  bytes 301026040 (301.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 71584  bytes 9190899 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71584  bytes 9190899 (9.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 154075  bytes 18092836 (18.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 248276  bytes 301785538 (301.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 71711  bytes 9208951 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71711  bytes 9208951 (9.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 154108  bytes 18104853 (18.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 248317  bytes 301791098 (301.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 71733  bytes 9211561 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71733  bytes 9211561 (9.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 154420  bytes 18134896 (18.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 248889  bytes 302549750 (302.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 71861  bytes 9229675 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71861  bytes 9229675 (9.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 154732  bytes 18168621 (18.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 249468  bytes 303309874 (303.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 71914  bytes 9233304 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71914  bytes 9233304 (9.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 155045  bytes 18202229 (18.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 250049  bytes 304070607 (304.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 72052  bytes 9251988 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72052  bytes 9251988 (9.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 155314  bytes 18227401 (18.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 250576  bytes 304820901 (304.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 72068  bytes 9253092 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72068  bytes 9253092 (9.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 155386  bytes 18246301 (18.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 250665  bytes 304836818 (304.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 72197  bytes 9272382 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72197  bytes 9272382 (9.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 155656  bytes 18267561 (18.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 251190  bytes 305586919 (305.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 72213  bytes 9273486 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72213  bytes 9273486 (9.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 155978  bytes 18302013 (18.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 251774  bytes 306348563 (306.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 72346  bytes 9291896 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72346  bytes 9291896 (9.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 156261  bytes 18331197 (18.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 252314  bytes 307100441 (307.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 72370  bytes 9293558 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72370  bytes 9293558 (9.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 156840  bytes 18382657 (18.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 253393  bytes 308605946 (308.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 72494  bytes 9311382 (9.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72494  bytes 9311382 (9.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 157174  bytes 18412070 (18.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 253934  bytes 309359082 (309.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 72524  bytes 9314608 (9.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72524  bytes 9314608 (9.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 157233  bytes 18425945 (18.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 254010  bytes 309373545 (309.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 72644  bytes 9332248 (9.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72644  bytes 9332248 (9.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 157535  bytes 18455340 (18.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 254567  bytes 310129566 (310.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 72689  bytes 9335268 (9.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72689  bytes 9335268 (9.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 157868  bytes 18493276 (18.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 255168  bytes 310895500 (310.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 72838  bytes 9354681 (9.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72838  bytes 9354681 (9.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 158147  bytes 18519028 (18.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 255703  bytes 311645918 (311.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 72858  bytes 9356053 (9.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72858  bytes 9356053 (9.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 158468  bytes 18555912 (18.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 256288  bytes 312405755 (312.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 72991  bytes 9375479 (9.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72991  bytes 9375479 (9.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 158748  bytes 18581178 (18.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 256825  bytes 313157680 (313.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 73015  bytes 9377215 (9.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 73015  bytes 9377215 (9.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 159063  bytes 18615691 (18.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 257406  bytes 313918725 (313.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 73142  bytes 9395123 (9.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 73142  bytes 9395123 (9.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 159087  bytes 18626357 (18.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 257440  bytes 313923609 (313.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 73158  bytes 9396275 (9.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 73158  bytes 9396275 (9.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 159653  bytes 18673233 (18.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 258515  bytes 315430662 (315.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 73291  bytes 9414627 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 73291  bytes 9414627 (9.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 159937  bytes 18701431 (18.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 259056  bytes 316181308 (316.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 73323  bytes 9417981 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 73323  bytes 9417981 (9.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 160260  bytes 18735752 (18.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 259636  bytes 316942239 (316.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 73446  bytes 9435789 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 73446  bytes 9435789 (9.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 160574  bytes 18762564 (18.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260168  bytes 317692255 (317.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 73475  bytes 9437762 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 73475  bytes 9437762 (9.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 160681  bytes 18788770 (18.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260291  bytes 317715611 (317.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 73625  bytes 9457220 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 73625  bytes 9457220 (9.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 160956  bytes 18809846 (18.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260817  bytes 318465469 (318.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 73649  bytes 9458894 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 73649  bytes 9458894 (9.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 161277  bytes 18845282 (18.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 261400  bytes 319226476 (319.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 73777  bytes 9478120 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 73777  bytes 9478120 (9.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 161578  bytes 18872445 (18.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 261935  bytes 319977443 (319.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 73801  bytes 9479856 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 73801  bytes 9479856 (9.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 161930  bytes 18910272 (18.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262511  bytes 320738680 (320.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 73925  bytes 9497598 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 73925  bytes 9497598 (9.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 161951  bytes 18918611 (18.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262541  bytes 320743293 (320.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 73941  bytes 9498750 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 73941  bytes 9498750 (9.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 162283  bytes 18949535 (18.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263110  bytes 321503853 (321.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 74063  bytes 9516364 (9.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 74063  bytes 9516364 (9.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 162565  bytes 18976248 (18.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263650  bytes 322256659 (322.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 74097  bytes 9519858 (9.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 74097  bytes 9519858 (9.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 162917  bytes 19012077 (19.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 264207  bytes 322986832 (322.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 74228  bytes 9538106 (9.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 74228  bytes 9538106 (9.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 163224  bytes 19039219 (19.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 264803  bytes 323839125 (323.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 74250  bytes 9539676 (9.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 74250  bytes 9539676 (9.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 163633  bytes 19084363 (19.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265525  bytes 324757515 (324.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 74395  bytes 9558871 (9.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 74395  bytes 9558871 (9.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 163996  bytes 19113754 (19.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 266114  bytes 325594819 (325.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 74430  bytes 9561228 (9.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 74430  bytes 9561228 (9.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 164360  bytes 19151632 (19.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 266778  bytes 326477516 (326.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 74558  bytes 9580430 (9.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 74558  bytes 9580430 (9.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 164681  bytes 19180998 (19.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 267399  bytes 327363190 (327.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 74582  bytes 9582150 (9.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 74582  bytes 9582150 (9.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 165025  bytes 19216241 (19.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 268039  bytes 328217462 (328.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 74711  bytes 9600152 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 74711  bytes 9600152 (9.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 165058  bytes 19230147 (19.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 268082  bytes 328223554 (328.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 74733  bytes 9601722 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 74733  bytes 9601722 (9.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 165393  bytes 19261319 (19.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 268701  bytes 329051505 (329.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 74851  bytes 9619128 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 74851  bytes 9619128 (9.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 165832  bytes 19297447 (19.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 269557  bytes 330289557 (330.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 74885  bytes 9622622 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 74885  bytes 9622622 (9.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 166205  bytes 19336528 (19.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 270237  bytes 331197192 (331.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 75013  bytes 9640748 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75013  bytes 9640748 (9.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 166229  bytes 19347264 (19.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 270263  bytes 331201581 (331.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 75023  bytes 9641434 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75023  bytes 9641434 (9.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 166943  bytes 19408294 (19.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 271458  bytes 332818478 (332.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 75186  bytes 9661887 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75186  bytes 9661887 (9.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 167234  bytes 19433897 (19.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272022  bytes 333619281 (333.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 75219  bytes 9664103 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75219  bytes 9664103 (9.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 167610  bytes 19471562 (19.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272716  bytes 334546573 (334.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 75350  bytes 9683461 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75350  bytes 9683461 (9.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 168030  bytes 19504672 (19.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273535  bytes 335734005 (335.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 75372  bytes 9685031 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75372  bytes 9685031 (9.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 168436  bytes 19545220 (19.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 274304  bytes 336784198 (336.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 75487  bytes 9702281 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75487  bytes 9702281 (9.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 168459  bytes 19554380 (19.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 274332  bytes 336788635 (336.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 75503  bytes 9703385 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75503  bytes 9703385 (9.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 168816  bytes 19586775 (19.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 274996  bytes 337678497 (337.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 75623  bytes 9720967 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75623  bytes 9720967 (9.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 169148  bytes 19615076 (19.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 275637  bytes 338600466 (338.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 75647  bytes 9723727 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75647  bytes 9723727 (9.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 169515  bytes 19651958 (19.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 276308  bytes 339482292 (339.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 75787  bytes 9742667 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75787  bytes 9742667 (9.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 169834  bytes 19679737 (19.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 276922  bytes 340363270 (340.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 75805  bytes 9743899 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75805  bytes 9743899 (9.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 170215  bytes 19720181 (19.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 277603  bytes 341238098 (341.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 75954  bytes 9763266 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75954  bytes 9763266 (9.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 170256  bytes 19733391 (19.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 277653  bytes 341246960 (341.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 75987  bytes 9765507 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75987  bytes 9765507 (9.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 170603  bytes 19770272 (19.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 278289  bytes 342085894 (342.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 76118  bytes 9784829 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 76118  bytes 9784829 (9.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 170912  bytes 19793159 (19.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 278887  bytes 342951737 (342.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 76136  bytes 9786073 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 76136  bytes 9786073 (9.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 171263  bytes 19828777 (19.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 279542  bytes 343823531 (343.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 76263  bytes 9804187 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 76263  bytes 9804187 (9.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 171556  bytes 19854427 (19.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 280106  bytes 344630558 (344.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 76281  bytes 9805419 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 76281  bytes 9805419 (9.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 171931  bytes 19891353 (19.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 280728  bytes 345449858 (345.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 76409  bytes 9823523 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 76409  bytes 9823523 (9.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 172363  bytes 19925025 (19.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 281345  bytes 346326483 (346.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 76433  bytes 9826283 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 76433  bytes 9826283 (9.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 172427  bytes 19942784 (19.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 281431  bytes 346341599 (346.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 76556  bytes 9844175 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 76556  bytes 9844175 (9.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 172727  bytes 19965277 (19.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 282013  bytes 347181314 (347.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 76574  bytes 9845407 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 76574  bytes 9845407 (9.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173054  bytes 19999709 (19.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 282612  bytes 347964258 (347.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 76705  bytes 9863682 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 76705  bytes 9863682 (9.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173360  bytes 20032383 (20.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 283164  bytes 348696479 (348.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 76752  bytes 9866831 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 76752  bytes 9866831 (9.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173674  bytes 20066556 (20.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 283739  bytes 349447886 (349.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 76881  bytes 9886203 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 76881  bytes 9886203 (9.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173979  bytes 20093095 (20.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 284325  bytes 350280965 (350.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 76899  bytes 9887447 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 76899  bytes 9887447 (9.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174318  bytes 20128179 (20.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 284954  bytes 351106758 (351.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 77031  bytes 9905805 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77031  bytes 9905805 (9.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174617  bytes 20158676 (20.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 285525  bytes 351907291 (351.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 77055  bytes 9907455 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77055  bytes 9907455 (9.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174999  bytes 20195956 (20.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 286123  bytes 352689213 (352.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 77185  bytes 9925701 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77185  bytes 9925701 (9.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175031  bytes 20207835 (20.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 286162  bytes 352694547 (352.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 77203  bytes 9928043 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77203  bytes 9928043 (9.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175354  bytes 20238608 (20.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 286758  bytes 353473683 (353.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 77338  bytes 9946665 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77338  bytes 9946665 (9.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175633  bytes 20263555 (20.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 287295  bytes 354241068 (354.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 77354  bytes 9947769 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77354  bytes 9947769 (9.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175951  bytes 20297407 (20.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 287888  bytes 355019681 (355.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 77487  bytes 9966097 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77487  bytes 9966097 (9.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 176276  bytes 20331959 (20.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 288479  bytes 355799363 (355.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 77534  bytes 9969259 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77534  bytes 9969259 (9.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 176619  bytes 20367764 (20.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 289107  bytes 356627201 (356.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 77676  bytes 9989357 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77676  bytes 9989357 (9.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 176943  bytes 20395989 (20.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 289732  bytes 357518370 (357.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 77692  bytes 9990461 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77692  bytes 9990461 (9.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 177305  bytes 20432272 (20.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 290407  bytes 358422856 (358.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 77822  bytes 10008681 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77822  bytes 10008681 (10.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 177625  bytes 20459351 (20.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 291047  bytes 359345473 (359.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 77838  bytes 10009785 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77838  bytes 10009785 (10.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 177993  bytes 20498080 (20.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 291731  bytes 360259150 (360.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 77960  bytes 10027577 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77960  bytes 10027577 (10.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 178330  bytes 20527579 (20.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 292382  bytes 361184843 (361.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 77984  bytes 10030337 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77984  bytes 10030337 (10.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 178700  bytes 20564293 (20.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 293073  bytes 362110914 (362.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 78116  bytes 10048789 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78116  bytes 10048789 (10.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 179028  bytes 20591831 (20.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 293716  bytes 363033450 (363.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 78134  bytes 10050033 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78134  bytes 10050033 (10.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 179440  bytes 20631272 (20.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 294403  bytes 363961055 (363.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 78255  bytes 10067619 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78255  bytes 10067619 (10.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 179811  bytes 20667312 (20.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 295087  bytes 364882409 (364.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 78309  bytes 10071262 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78309  bytes 10071262 (10.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 180322  bytes 20714228 (20.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 295787  bytes 365816939 (365.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 78445  bytes 10091049 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78445  bytes 10091049 (10.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 180653  bytes 20742206 (20.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 296424  bytes 366725095 (366.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 78463  bytes 10092293 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78463  bytes 10092293 (10.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 181032  bytes 20782962 (20.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 297122  bytes 367659373 (367.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 78582  bytes 10109929 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78582  bytes 10109929 (10.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 181339  bytes 20810127 (20.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 297714  bytes 368502915 (368.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 78600  bytes 10111173 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78600  bytes 10111173 (10.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 181735  bytes 20850209 (20.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 298449  bytes 369503982 (369.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 78721  bytes 10128735 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78721  bytes 10128735 (10.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 182071  bytes 20881137 (20.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 299117  bytes 370447895 (370.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 78753  bytes 10132089 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78753  bytes 10132089 (10.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 182497  bytes 20922863 (20.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 299807  bytes 371375030 (371.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 78884  bytes 10150371 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78884  bytes 10150371 (10.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 182818  bytes 20950013 (20.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 300432  bytes 372265682 (372.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 78908  bytes 10152081 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78908  bytes 10152081 (10.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 183196  bytes 20989247 (20.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 301132  bytes 373211444 (373.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 79031  bytes 10169747 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 79031  bytes 10169747 (10.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 183849  bytes 21040797 (21.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 302395  bytes 375022994 (375.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 79080  bytes 10173058 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 79080  bytes 10173058 (10.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 184252  bytes 21083925 (21.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 303120  bytes 375965366 (375.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 79230  bytes 10193751 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 79230  bytes 10193751 (10.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 184579  bytes 21111369 (21.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 303755  bytes 376878653 (376.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 79246  bytes 10194855 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 79246  bytes 10194855 (10.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 184955  bytes 21148365 (21.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 304445  bytes 377805666 (377.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 79365  bytes 10212395 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 79365  bytes 10212395 (10.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 185295  bytes 21180529 (21.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 305099  bytes 378724234 (378.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 79395  bytes 10214511 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 79395  bytes 10214511 (10.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 185666  bytes 21213717 (21.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 305785  bytes 379654263 (379.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 79519  bytes 10232229 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 79519  bytes 10232229 (10.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 186004  bytes 21243238 (21.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 306438  bytes 380582488 (380.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 79553  bytes 10235749 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 79553  bytes 10235749 (10.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 186383  bytes 21281331 (21.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 307139  bytes 381520380 (381.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 79676  bytes 10253521 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 79676  bytes 10253521 (10.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 186722  bytes 21309465 (21.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 307788  bytes 382447918 (382.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 79700  bytes 10255231 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 79700  bytes 10255231 (10.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 187091  bytes 21345888 (21.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 308476  bytes 383383681 (383.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 79816  bytes 10272533 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 79816  bytes 10272533 (10.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 187431  bytes 21377715 (21.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 309129  bytes 384311654 (384.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 79845  bytes 10274506 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 79845  bytes 10274506 (10.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 187855  bytes 21426430 (21.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 309876  bytes 385260707 (385.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 79999  bytes 10295482 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 79999  bytes 10295482 (10.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 188193  bytes 21456688 (21.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 310529  bytes 386189570 (386.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 80027  bytes 10297424 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80027  bytes 10297424 (10.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 188569  bytes 21493486 (21.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 311222  bytes 387130603 (387.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 80145  bytes 10314830 (10.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80145  bytes 10314830 (10.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 189216  bytes 21540783 (21.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 312492  bytes 388984930 (388.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 80173  bytes 10316818 (10.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80173  bytes 10316818 (10.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 189587  bytes 21577279 (21.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 313185  bytes 389922174 (389.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 80296  bytes 10334448 (10.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80296  bytes 10334448 (10.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 189916  bytes 21605431 (21.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 313826  bytes 390835493 (390.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 80326  bytes 10337674 (10.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80326  bytes 10337674 (10.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 190274  bytes 21641918 (21.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 314487  bytes 391713468 (391.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 80453  bytes 10355772 (10.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80453  bytes 10355772 (10.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 190599  bytes 21670021 (21.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 315115  bytes 392610406 (392.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 80477  bytes 10357482 (10.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80477  bytes 10357482 (10.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 190963  bytes 21708463 (21.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 315792  bytes 393517666 (393.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 80602  bytes 10375252 (10.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80602  bytes 10375252 (10.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 191325  bytes 21738514 (21.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 316439  bytes 394446450 (394.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 80626  bytes 10376962 (10.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80626  bytes 10376962 (10.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 191437  bytes 21766451 (21.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 316571  bytes 394470684 (394.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 80776  bytes 10397551 (10.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80776  bytes 10397551 (10.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 191755  bytes 21794262 (21.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 317184  bytes 395340004 (395.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 80809  bytes 10399768 (10.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80809  bytes 10399768 (10.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 192133  bytes 21832030 (21.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 317880  bytes 396279907 (396.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 80923  bytes 10416966 (10.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80923  bytes 10416966 (10.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 192456  bytes 21859240 (21.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 318508  bytes 397179230 (397.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 80945  bytes 10418536 (10.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80945  bytes 10418536 (10.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 192831  bytes 21896031 (21.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 319204  bytes 398121261 (398.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 81071  bytes 10436394 (10.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 81071  bytes 10436394 (10.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 193469  bytes 21940382 (21.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 320451  bytes 399943431 (399.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 81109  bytes 10440166 (10.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 81109  bytes 10440166 (10.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 193842  bytes 21977347 (21.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 321151  bytes 400881830 (400.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 81237  bytes 10458234 (10.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 81237  bytes 10458234 (10.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 194241  bytes 22013824 (22.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 321802  bytes 401811466 (401.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 81261  bytes 10459944 (10.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 81261  bytes 10459944 (10.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 194586  bytes 22051186 (22.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 322446  bytes 402661489 (402.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 81384  bytes 10477610 (10.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 81384  bytes 10477610 (10.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 194911  bytes 22080740 (22.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 323073  bytes 403563755 (403.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 81400  bytes 10478714 (10.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 81400  bytes 10478714 (10.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 195335  bytes 22127975 (22.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 323811  bytes 404486411 (404.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 81566  bytes 10500419 (10.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 81566  bytes 10500419 (10.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 195660  bytes 22155301 (22.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 324443  bytes 405387271 (405.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 81599  bytes 10502648 (10.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 81599  bytes 10502648 (10.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 196080  bytes 22190881 (22.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 325093  bytes 406268867 (406.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 81717  bytes 10520100 (10.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 81717  bytes 10520100 (10.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 196424  bytes 22222699 (22.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 325752  bytes 407200144 (407.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 81747  bytes 10522238 (10.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 81747  bytes 10522238 (10.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 196798  bytes 22259457 (22.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 326451  bytes 408140911 (408.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 81870  bytes 10539928 (10.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 81870  bytes 10539928 (10.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 197136  bytes 22290278 (22.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 327101  bytes 409071616 (409.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 81896  bytes 10542828 (10.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 81896  bytes 10542828 (10.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 197524  bytes 22328338 (22.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 327811  bytes 410015379 (410.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 82025  bytes 10561164 (10.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82025  bytes 10561164 (10.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 197851  bytes 22357950 (22.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 328460  bytes 410948346 (410.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 82041  bytes 10562268 (10.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82041  bytes 10562268 (10.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 198225  bytes 22394811 (22.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 329162  bytes 411889873 (411.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 82176  bytes 10580736 (10.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82176  bytes 10580736 (10.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 198742  bytes 22432112 (22.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 329809  bytes 412822389 (412.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 82192  bytes 10581840 (10.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82192  bytes 10581840 (10.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 199231  bytes 22480754 (22.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 330555  bytes 413786969 (413.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 82349  bytes 10602899 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82349  bytes 10602899 (10.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 199288  bytes 22490450 (22.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 330607  bytes 413796032 (413.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 82384  bytes 10605306 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82384  bytes 10605306 (10.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 199329  bytes 22500030 (22.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 330658  bytes 413805704 (413.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 82447  bytes 10614519 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82447  bytes 10614519 (10.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 199692  bytes 22532571 (22.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 331347  bytes 414769315 (414.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 82519  bytes 10623822 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82519  bytes 10623822 (10.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 200080  bytes 22570888 (22.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 332064  bytes 415737191 (415.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 82643  bytes 10641730 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82643  bytes 10641730 (10.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 200109  bytes 22580468 (22.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 332100  bytes 415742360 (415.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 82663  bytes 10644200 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82663  bytes 10644200 (10.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 200487  bytes 22613979 (22.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 332815  bytes 416709909 (416.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 82794  bytes 10662660 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82794  bytes 10662660 (10.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 200829  bytes 22642203 (22.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 333479  bytes 417666896 (417.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 82810  bytes 10663764 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82810  bytes 10663764 (10.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 201205  bytes 22679076 (22.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 334192  bytes 418636350 (418.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 82931  bytes 10681480 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82931  bytes 10681480 (10.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 201548  bytes 22707394 (22.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 334857  bytes 419594723 (419.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 82949  bytes 10682724 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82949  bytes 10682724 (10.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 201575  bytes 22713364 (22.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 334897  bytes 419600400 (419.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 82982  bytes 10686074 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82982  bytes 10686074 (10.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 201640  bytes 22726733 (22.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 334969  bytes 419613700 (419.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 83025  bytes 10688932 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 83025  bytes 10688932 (10.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 201659  bytes 22731305 (22.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 334996  bytes 419618147 (419.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 83043  bytes 10690188 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 83043  bytes 10690188 (10.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 201698  bytes 22740827 (22.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 335044  bytes 419627406 (419.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 83107  bytes 10699453 (10.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 83107  bytes 10699453 (10.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 202137  bytes 22780331 (22.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 335773  bytes 420602189 (420.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 83233  bytes 10717393 (10.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 83233  bytes 10717393 (10.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 202212  bytes 22798731 (22.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 335877  bytes 420621820 (420.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 83405  bytes 10744004 (10.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 83405  bytes 10744004 (10.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 202606  bytes 22836764 (22.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 336601  bytes 421592135 (421.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 83539  bytes 10762596 (10.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 83539  bytes 10762596 (10.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 203032  bytes 22869361 (22.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 337269  bytes 422553981 (422.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 83557  bytes 10763828 (10.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 83557  bytes 10763828 (10.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 203049  bytes 22873829 (22.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 337294  bytes 422558280 (422.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 83573  bytes 10764980 (10.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 83573  bytes 10764980 (10.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 203113  bytes 22891209 (22.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 337371  bytes 422572695 (422.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 83688  bytes 10782124 (10.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 83688  bytes 10782124 (10.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 203506  bytes 22930433 (22.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 338090  bytes 423544311 (423.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 83827  bytes 10802052 (10.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 83827  bytes 10802052 (10.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 203897  bytes 22964346 (22.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 338806  bytes 424515247 (424.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 83876  bytes 10805316 (10.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 83876  bytes 10805316 (10.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 204286  bytes 23001952 (23.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 339527  bytes 425485840 (425.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 84009  bytes 10823707 (10.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84009  bytes 10823707 (10.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 204648  bytes 23039133 (23.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 340210  bytes 426447771 (426.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 84035  bytes 10825529 (10.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84035  bytes 10825529 (10.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 205037  bytes 23073261 (23.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 340919  bytes 427417924 (427.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 84161  bytes 10843505 (10.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84161  bytes 10843505 (10.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 205443  bytes 23105482 (23.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 341588  bytes 428378128 (428.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 84189  bytes 10846533 (10.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84189  bytes 10846533 (10.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 205899  bytes 23147085 (23.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 342319  bytes 429349514 (429.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 84322  bytes 10865077 (10.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84322  bytes 10865077 (10.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 206309  bytes 23178869 (23.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 342987  bytes 430314326 (430.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 84338  bytes 10866181 (10.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84338  bytes 10866181 (10.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 206695  bytes 23216484 (23.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 343702  bytes 431285598 (431.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 84461  bytes 10883871 (10.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84461  bytes 10883871 (10.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 207038  bytes 23244843 (23.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 344372  bytes 432246409 (432.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 84483  bytes 10885441 (10.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84483  bytes 10885441 (10.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 207428  bytes 23283275 (23.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 345090  bytes 433218452 (433.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 84609  bytes 10904539 (10.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84609  bytes 10904539 (10.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 207495  bytes 23300447 (23.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 345167  bytes 433232208 (433.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 84658  bytes 10907890 (10.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84658  bytes 10907890 (10.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 207932  bytes 23337096 (23.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 345890  bytes 434204287 (434.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 84794  bytes 10926471 (10.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84794  bytes 10926471 (10.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 208280  bytes 23367851 (23.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 346558  bytes 435164761 (435.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 84812  bytes 10927703 (10.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84812  bytes 10927703 (10.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 208705  bytes 23411277 (23.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 347334  bytes 436219200 (436.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 84935  bytes 10945523 (10.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84935  bytes 10945523 (10.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 208736  bytes 23421759 (23.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 347373  bytes 436224637 (436.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 84955  bytes 10947993 (10.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84955  bytes 10947993 (10.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 209128  bytes 23456002 (23.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 348091  bytes 437198169 (437.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 85081  bytes 10965993 (10.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85081  bytes 10965993 (10.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 209488  bytes 23485158 (23.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 348762  bytes 438161743 (438.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 85103  bytes 10967563 (10.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85103  bytes 10967563 (10.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 209878  bytes 23524906 (23.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 349481  bytes 439133328 (439.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 85225  bytes 10985177 (10.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85225  bytes 10985177 (10.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 210224  bytes 23554205 (23.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 350153  bytes 440094326 (440.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 85249  bytes 10986875 (10.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85249  bytes 10986875 (10.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 210611  bytes 23593281 (23.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 350878  bytes 441067875 (441.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 85374  bytes 11005921 (11.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85374  bytes 11005921 (11.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 210658  bytes 23606216 (23.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 350933  bytes 441077236 (441.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 85411  bytes 11008396 (11.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85411  bytes 11008396 (11.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 211059  bytes 23643917 (23.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 351668  bytes 442051121 (442.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 85558  bytes 11027705 (11.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85558  bytes 11027705 (11.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 211403  bytes 23672245 (23.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 352335  bytes 443011786 (443.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 85574  bytes 11028809 (11.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85574  bytes 11028809 (11.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 211793  bytes 23712196 (23.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 353056  bytes 443984994 (443.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 85703  bytes 11046857 (11.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85703  bytes 11046857 (11.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 211817  bytes 23722030 (23.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 353091  bytes 443990033 (443.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 85727  bytes 11049665 (11.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85727  bytes 11049665 (11.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 212388  bytes 23765607 (23.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 353809  bytes 444963999 (444.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 85850  bytes 11067531 (11.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85850  bytes 11067531 (11.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 212735  bytes 23794278 (23.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 354485  bytes 445929011 (445.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 85874  bytes 11069229 (11.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85874  bytes 11069229 (11.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 213117  bytes 23831565 (23.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 355199  bytes 446901171 (446.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 85996  bytes 11086879 (11.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85996  bytes 11086879 (11.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 213465  bytes 23860119 (23.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 355870  bytes 447863182 (447.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 86022  bytes 11088717 (11.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 86022  bytes 11088717 (11.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 213523  bytes 23874495 (23.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 355948  bytes 447877929 (447.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 86147  bytes 11107645 (11.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 86147  bytes 11107645 (11.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 213906  bytes 23904894 (23.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 356620  bytes 448840286 (448.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 86176  bytes 11109617 (11.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 86176  bytes 11109617 (11.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 214007  bytes 23927068 (23.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 356739  bytes 448864029 (448.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 86322  bytes 11128830 (11.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 86322  bytes 11128830 (11.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 214357  bytes 23958838 (23.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 357419  bytes 449832185 (449.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 86352  bytes 11130922 (11.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 86352  bytes 11130922 (11.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 214418  bytes 23973128 (23.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 357501  bytes 449847013 (449.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 86470  bytes 11148246 (11.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 86470  bytes 11148246 (11.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 214770  bytes 24002679 (24.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 358181  bytes 450811562 (450.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 86502  bytes 11151612 (11.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 86502  bytes 11151612 (11.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 214840  bytes 24022933 (24.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 358264  bytes 450826480 (450.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 86620  bytes 11169112 (11.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 86620  bytes 11169112 (11.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 215180  bytes 24047470 (24.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 358932  bytes 451790448 (451.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 86646  bytes 11170976 (11.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 86646  bytes 11170976 (11.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 215569  bytes 24085274 (24.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 359651  bytes 452766031 (452.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 86773  bytes 11188874 (11.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 86773  bytes 11188874 (11.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 215585  bytes 24089721 (24.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 359677  bytes 452770410 (452.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 86791  bytes 11190154 (11.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 86791  bytes 11190154 (11.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 215978  bytes 24128446 (24.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 360407  bytes 453744949 (453.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 86919  bytes 11209356 (11.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 86919  bytes 11209356 (11.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 216323  bytes 24157548 (24.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 361077  bytes 454710053 (454.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 86941  bytes 11210926 (11.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 86941  bytes 11210926 (11.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 216424  bytes 24179600 (24.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 361196  bytes 454733321 (454.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 87091  bytes 11230325 (11.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87091  bytes 11230325 (11.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 216792  bytes 24211487 (24.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 361871  bytes 455697401 (455.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 87124  bytes 11232542 (11.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87124  bytes 11232542 (11.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 216856  bytes 24229933 (24.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 361949  bytes 455711873 (455.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 87242  bytes 11249902 (11.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87242  bytes 11249902 (11.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 217202  bytes 24255490 (24.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 362624  bytes 456679372 (456.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 87272  bytes 11253128 (11.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87272  bytes 11253128 (11.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 217261  bytes 24269270 (24.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 362699  bytes 456693683 (456.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 87399  bytes 11271038 (11.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87399  bytes 11271038 (11.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 217932  bytes 24320478 (24.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 364015  bytes 458620046 (458.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 87427  bytes 11273026 (11.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87427  bytes 11273026 (11.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 217993  bytes 24337961 (24.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 364091  bytes 458634397 (458.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 87547  bytes 11290490 (11.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87547  bytes 11290490 (11.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 218331  bytes 24362337 (24.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 364754  bytes 459598943 (459.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 87563  bytes 11291594 (11.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87563  bytes 11291594 (11.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 218725  bytes 24402337 (24.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 365485  bytes 460579797 (460.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 87699  bytes 11311354 (11.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87699  bytes 11311354 (11.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 218740  bytes 24406725 (24.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 365506  bytes 460583832 (460.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 87709  bytes 11312040 (11.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87709  bytes 11312040 (11.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 219178  bytes 24453202 (24.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 366280  bytes 461572528 (461.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 87871  bytes 11332273 (11.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87871  bytes 11332273 (11.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 219196  bytes 24457820 (24.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 366307  bytes 461577020 (461.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 87900  bytes 11334212 (11.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87900  bytes 11334212 (11.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 219589  bytes 24495621 (24.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 367028  bytes 462554876 (462.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 88021  bytes 11351856 (11.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88021  bytes 11351856 (11.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 219611  bytes 24501188 (24.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 367059  bytes 462559765 (462.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 88047  bytes 11354792 (11.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88047  bytes 11354792 (11.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 219998  bytes 24538970 (24.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 367784  bytes 463537372 (463.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 88175  bytes 11372860 (11.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88175  bytes 11372860 (11.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 220016  bytes 24543588 (24.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 367807  bytes 463541569 (463.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 88189  bytes 11373814 (11.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88189  bytes 11373814 (11.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 220404  bytes 24581106 (24.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 368537  bytes 464519265 (464.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 88324  bytes 11392258 (11.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88324  bytes 11392258 (11.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 220751  bytes 24611782 (24.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 369207  bytes 465486044 (465.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 88340  bytes 11393362 (11.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88340  bytes 11393362 (11.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 220815  bytes 24626452 (24.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 369292  bytes 465501379 (465.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 88472  bytes 11412772 (11.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88472  bytes 11412772 (11.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 221234  bytes 24660987 (24.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 369965  bytes 466469262 (466.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 88490  bytes 11414004 (11.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88490  bytes 11414004 (11.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 221324  bytes 24683142 (24.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 370071  bytes 466488680 (466.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 88632  bytes 11432961 (11.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88632  bytes 11432961 (11.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 221682  bytes 24711632 (24.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 370757  bytes 467459237 (467.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 88664  bytes 11435102 (11.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88664  bytes 11435102 (11.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 222072  bytes 24749420 (24.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 371485  bytes 468437696 (468.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 88795  bytes 11453374 (11.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88795  bytes 11453374 (11.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 222093  bytes 24754913 (24.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 371513  bytes 468442356 (468.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 88813  bytes 11455716 (11.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88813  bytes 11455716 (11.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 222485  bytes 24792777 (24.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 372242  bytes 469420114 (469.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 88945  bytes 11474204 (11.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88945  bytes 11474204 (11.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 222507  bytes 24801968 (24.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 372269  bytes 469424548 (469.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 88957  bytes 11475018 (11.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88957  bytes 11475018 (11.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 222893  bytes 24835892 (24.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 372996  bytes 470405698 (470.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 89091  bytes 11493532 (11.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 89091  bytes 11493532 (11.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 223239  bytes 24864324 (24.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 373666  bytes 471375506 (471.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 89107  bytes 11494636 (11.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 89107  bytes 11494636 (11.4 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 223637  bytes 24903899 (24.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 374400  bytes 472356033 (472.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 89247  bytes 11514604 (11.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 89247  bytes 11514604 (11.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 223659  bytes 24913024 (24.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 374428  bytes 472360502 (472.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 89257  bytes 11515290 (11.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 89257  bytes 11515290 (11.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 224055  bytes 24947319 (24.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 375153  bytes 473340209 (473.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 89388  bytes 11533589 (11.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 89388  bytes 11533589 (11.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 224557  bytes 24991707 (24.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 375868  bytes 474317696 (474.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 89430  bytes 11536489 (11.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 89430  bytes 11536489 (11.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 224619  bytes 25009070 (25.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 375948  bytes 474332268 (474.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 89563  bytes 11554810 (11.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 89563  bytes 11554810 (11.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 224961  bytes 25034258 (25.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 376617  bytes 475300873 (475.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 89587  bytes 11557570 (11.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 89587  bytes 11557570 (11.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 225353  bytes 25072475 (25.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 377351  bytes 476281463 (476.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 89724  bytes 11576284 (11.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 89724  bytes 11576284 (11.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 225377  bytes 25082480 (25.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 377380  bytes 476285992 (476.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 89734  bytes 11576970 (11.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 89734  bytes 11576970 (11.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 225760  bytes 25116152 (25.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 378103  bytes 477266648 (477.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 89857  bytes 11594790 (11.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 89857  bytes 11594790 (11.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 226107  bytes 25144679 (25.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 378775  bytes 478236249 (478.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 89875  bytes 11596034 (11.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 89875  bytes 11596034 (11.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 226173  bytes 25163178 (25.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 378864  bytes 478251673 (478.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 90006  bytes 11615404 (11.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90006  bytes 11615404 (11.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 227154  bytes 25227378 (25.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 380194  bytes 480205655 (480.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 90032  bytes 11617194 (11.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90032  bytes 11617194 (11.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 227211  bytes 25240930 (25.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 380267  bytes 480219878 (480.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 90148  bytes 11634354 (11.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90148  bytes 11634354 (11.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 227632  bytes 25279612 (25.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 380992  bytes 481200960 (481.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 90199  bytes 11637816 (11.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90199  bytes 11637816 (11.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 227691  bytes 25293176 (25.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 381068  bytes 481215393 (481.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 90335  bytes 11656256 (11.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90335  bytes 11656256 (11.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 227711  bytes 25298493 (25.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 381095  bytes 481219949 (481.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 90357  bytes 11658876 (11.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90357  bytes 11658876 (11.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 228105  bytes 25337337 (25.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 381828  bytes 482204629 (482.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 90496  bytes 11677670 (11.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90496  bytes 11677670 (11.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 228129  bytes 25346604 (25.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 381857  bytes 482209177 (482.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 90508  bytes 11678484 (11.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90508  bytes 11678484 (11.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 228510  bytes 25380155 (25.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 382580  bytes 483191712 (483.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 90638  bytes 11696692 (11.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90638  bytes 11696692 (11.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 228882  bytes 25410712 (25.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 383256  bytes 484164067 (484.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 90656  bytes 11697924 (11.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90656  bytes 11697924 (11.6 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 228913  bytes 25418724 (25.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 383296  bytes 484171350 (484.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 90696  bytes 11704765 (11.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90696  bytes 11704765 (11.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 228971  bytes 25434776 (25.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 383373  bytes 484184031 (484.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 90800  bytes 11718234 (11.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90800  bytes 11718234 (11.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 229350  bytes 25468346 (25.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 384092  bytes 485165429 (485.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 90921  bytes 11735796 (11.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90921  bytes 11735796 (11.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 229738  bytes 25505498 (25.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 384814  bytes 486146527 (486.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 90974  bytes 11739387 (11.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90974  bytes 11739387 (11.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 229802  bytes 25522956 (25.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 384894  bytes 486161112 (486.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 91103  bytes 11757464 (11.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91103  bytes 11757464 (11.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 230153  bytes 25548773 (25.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 385571  bytes 487133461 (487.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 91127  bytes 11760224 (11.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91127  bytes 11760224 (11.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 230225  bytes 25567879 (25.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 385659  bytes 487148795 (487.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 91263  bytes 11778874 (11.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91263  bytes 11778874 (11.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 230694  bytes 25599042 (25.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 386332  bytes 488121916 (488.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 91279  bytes 11779978 (11.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91279  bytes 11779978 (11.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 231068  bytes 25635973 (25.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 387028  bytes 489065412 (489.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 91402  bytes 11797644 (11.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91402  bytes 11797644 (11.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 231082  bytes 25640333 (25.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 387053  bytes 489069773 (489.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 91418  bytes 11798796 (11.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91418  bytes 11798796 (11.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 231426  bytes 25676123 (25.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 387670  bytes 489888035 (489.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 91546  bytes 11817926 (11.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91546  bytes 11817926 (11.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 231444  bytes 25680888 (25.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 387700  bytes 489892822 (489.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 91566  bytes 11819346 (11.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91566  bytes 11819346 (11.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 231785  bytes 25718198 (25.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 388328  bytes 490730431 (490.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 91690  bytes 11837124 (11.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91690  bytes 11837124 (11.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 231829  bytes 25731023 (25.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 388384  bytes 490740399 (490.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 91733  bytes 11840017 (11.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91733  bytes 11840017 (11.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 232184  bytes 25766447 (25.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 389024  bytes 491581506 (491.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 91863  bytes 11858207 (11.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91863  bytes 11858207 (11.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 232209  bytes 25772288 (25.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 389061  bytes 491586863 (491.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 91893  bytes 11861387 (11.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91893  bytes 11861387 (11.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 232530  bytes 25806538 (25.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 389642  bytes 492350321 (492.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 92026  bytes 11879797 (11.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92026  bytes 11879797 (11.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 232549  bytes 25811460 (25.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 389673  bytes 492355058 (492.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 92042  bytes 11880949 (11.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92042  bytes 11880949 (11.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 232933  bytes 25849316 (25.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 390353  bytes 493265282 (493.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 92164  bytes 11898563 (11.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92164  bytes 11898563 (11.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 232957  bytes 25858626 (25.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 390387  bytes 493270188 (493.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 92180  bytes 11899715 (11.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92180  bytes 11899715 (11.8 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 233346  bytes 25893129 (25.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 391011  bytes 494107423 (494.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 92307  bytes 11918889 (11.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92307  bytes 11918889 (11.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 233667  bytes 25921215 (25.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 391598  bytes 494933707 (494.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 92331  bytes 11920599 (11.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92331  bytes 11920599 (11.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 233706  bytes 25932615 (25.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 391651  bytes 494943270 (494.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 92395  bytes 11929864 (11.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92395  bytes 11929864 (11.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 233743  bytes 25941367 (25.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 391702  bytes 494952781 (494.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 92470  bytes 11939349 (11.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92470  bytes 11939349 (11.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 234211  bytes 25988670 (25.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 392337  bytes 495761642 (495.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 92564  bytes 11950688 (11.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92564  bytes 11950688 (11.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 234253  bytes 25998460 (25.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 392398  bytes 495771829 (495.7 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 92653  bytes 11962223 (11.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92653  bytes 11962223 (11.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 234583  bytes 26033143 (26.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 392997  bytes 496559634 (496.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 92784  bytes 11980483 (11.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92784  bytes 11980483 (11.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 234603  bytes 26041408 (26.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 393026  bytes 496564193 (496.5 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 92800  bytes 11981635 (11.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92800  bytes 11981635 (11.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 234937  bytes 26072408 (26.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 393648  bytes 497394615 (497.3 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 92921  bytes 11999161 (11.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92921  bytes 11999161 (11.9 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 235260  bytes 26100438 (26.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 394272  bytes 498282191 (498.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 92947  bytes 12000999 (12.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92947  bytes 12000999 (12.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 235320  bytes 26114758 (26.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 394347  bytes 498296606 (498.2 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 93064  bytes 12019487 (12.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 93064  bytes 12019487 (12.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 235636  bytes 26142932 (26.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 394956  bytes 499147535 (499.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 93090  bytes 12021363 (12.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 93090  bytes 12021363 (12.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token e243aac39fb012c084cfefeb2a6a3641 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/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:d6:08:d1:15  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 48:b0:2d:d9:7c:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 235695  bytes 26156555 (26.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 395031  bytes 499163416 (499.1 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1  (Local Loopback)\n        RX packets 93207  bytes 12038575 (12.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 93207  bytes 12038575 (12.0 MB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nrndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:29  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nusb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether ba:a7:69:f8:42:2b  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/06/16/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/16062025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
